array SimpleFunc_nextFree163 integer SimpleFunc_firstFree194 integer SimpleFunc_maxIndex126 array SimpleFunc_typeId181 integer SimpleFunc_firstFree194 = 0 integer SimpleFunc_maxIndex126 = 0 function initGlobals501() { SimpleFunc_firstFree_194 = 0; SimpleFunc_maxIndex_126 = 0; } function main253() { initGlobals501(); init_test209(); } function config187() { } function init_test209() { local integer f132 local integer clVar192 clVar_192 = alloc_SimpleFunc_test194(); f_132 = clVar_192; dispatch_SimpleFunc_test_SimpleFunc_call592(f_132); testSuccess321(); } IS_NATIVE function testSuccess321() { } function call_test334(integer this201) { } function alloc_SimpleFunc_test194() returns integer { local integer this602 if (SimpleFunc_firstFree_194 == 0) { if (SimpleFunc_maxIndex_126 < 32768) { SimpleFunc_maxIndex_126 = (SimpleFunc_maxIndex_126 + 1); this_602 = SimpleFunc_maxIndex_126; SimpleFunc_typeId_181[this_602] = 2; } else { error144("Out of memory: Could not create SimpleFunc_test."); this_602 = 0; }; } else { SimpleFunc_firstFree_194 = (SimpleFunc_firstFree_194 - 1); this_602 = SimpleFunc_nextFree_163[SimpleFunc_firstFree_194]; SimpleFunc_typeId_181[this_602] = 2; }; return this_602; } function error144(string msg111) { $debugPrint122((msg_111 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call592(integer this182) { if (SimpleFunc_typeId_181[this_182] == 0) { if (this_182 == 0) { error144("Nullpointer exception when calling SimpleFunc.call"); } else { error144("Called SimpleFunc.call on invalid object."); }; } else { }; call_test334(this_182); }