array SimpleFunc_nextFree157 integer SimpleFunc_firstFree460 integer SimpleFunc_maxIndex787 array SimpleFunc_typeId613 integer SimpleFunc_firstFree460 = 0 integer SimpleFunc_maxIndex787 = 0 function initGlobals516() { } function main160() { initGlobals516(); init_test607(); } function config881() { } function init_test607() { local integer f167 local integer clVar751 local integer this154 local integer this156 if (SimpleFunc_firstFree_460 == 0) { if (SimpleFunc_maxIndex_787 < 32768) { SimpleFunc_maxIndex_787 = (SimpleFunc_maxIndex_787 + 1); this_154 = SimpleFunc_maxIndex_787; SimpleFunc_typeId_613[this_154] = 2; } else { error867("Out of memory: Could not create SimpleFunc_test."); this_154 = 0; }; } else { SimpleFunc_firstFree_460 = (SimpleFunc_firstFree_460 - 1); this_154 = SimpleFunc_nextFree_157[SimpleFunc_firstFree_460]; SimpleFunc_typeId_613[this_154] = 2; }; clVar_751 = this_154; f_167 = clVar_751; this_156 = f_167; if (SimpleFunc_typeId_613[this_156] == 0) { if (this_156 == 0) { error867("Nullpointer exception when calling SimpleFunc.apply"); } else { error867("Called SimpleFunc.apply on invalid object."); }; } else { }; testSuccess120(); } IS_NATIVE function testSuccess120() { } function error867(string msg203) { $debugPrint641((msg_203 + (" " + #getStackTrace()))); }