array SimpleFunc_nextFree209 integer SimpleFunc_firstFree199 integer SimpleFunc_maxIndex101 array SimpleFunc_typeId320 integer SimpleFunc_firstFree199 = 0 integer SimpleFunc_maxIndex101 = 0 function initGlobals175() { } function main133() { initGlobals175(); init_test124(); } function config376() { } function init_test124() { local integer this647 if (SimpleFunc_firstFree_199 == 0) { if (SimpleFunc_maxIndex_101 < 32768) { SimpleFunc_maxIndex_101 = (SimpleFunc_maxIndex_101 + 1); this_647 = SimpleFunc_maxIndex_101; SimpleFunc_typeId_320[this_647] = 2; } else { error678("Out of memory: Could not create SimpleFunc_test."); this_647 = 0; }; } else { SimpleFunc_firstFree_199 = (SimpleFunc_firstFree_199 - 1); this_647 = SimpleFunc_nextFree_209[SimpleFunc_firstFree_199]; SimpleFunc_typeId_320[this_647] = 2; }; if (SimpleFunc_typeId_320[this_647] == 0) { if (this_647 == 0) { error678("Nullpointer exception when calling SimpleFunc.call"); } else { error678("Called SimpleFunc.call on invalid object."); }; } else { }; testSuccess525(); } IS_NATIVE function testSuccess525() { } function error678(string msg179) { $debugPrint525((msg_179 + (" " + #getStackTrace()))); }