array SimpleFunc_nextFree145 integer SimpleFunc_firstFree617 integer SimpleFunc_maxIndex209 array SimpleFunc_typeId153 integer SimpleFunc_firstFree617 = 0 integer SimpleFunc_maxIndex209 = 0 function initGlobals982() { } function main164() { initGlobals982(); init_test141(); } function config196() { } function init_test141() { local integer f168 local integer clVar116 local integer this179 local integer this685 local integer test_SimpleFunc_call_result173 if (SimpleFunc_firstFree_617 == 0) { if (SimpleFunc_maxIndex_209 < 32768) { SimpleFunc_maxIndex_209 = (SimpleFunc_maxIndex_209 + 1); this_179 = SimpleFunc_maxIndex_209; SimpleFunc_typeId_153[this_179] = 2; } else { error538("Out of memory: Could not create SimpleFunc_test."); this_179 = 0; }; } else { SimpleFunc_firstFree_617 = (SimpleFunc_firstFree_617 - 1); this_179 = SimpleFunc_nextFree_145[SimpleFunc_firstFree_617]; SimpleFunc_typeId_153[this_179] = 2; }; clVar_116 = this_179; f_168 = clVar_116; this_685 = f_168; if (SimpleFunc_typeId_153[this_685] == 0) { if (this_685 == 0) { error538("Nullpointer exception when calling SimpleFunc.call"); } else { error538("Called SimpleFunc.call on invalid object."); }; } else { }; test_SimpleFunc_call_result_173 = 1; if (test_SimpleFunc_call_result_173 == 1) { testSuccess882(); } else { }; } IS_NATIVE function testSuccess882() { } function error538(string msg926) { $debugPrint571((msg_926 + (" " + #getStackTrace()))); }