array SimpleFunc_nextFree730 integer SimpleFunc_firstFree149 integer SimpleFunc_maxIndex277 array SimpleFunc_typeId990 integer SimpleFunc_firstFree149 = 0 integer SimpleFunc_maxIndex277 = 0 function initGlobals163() { } function main814() { initGlobals163(); init_test199(); } function config652() { } function init_test199() { local integer f186 local integer clVar206 local integer this815 local integer this124 if (SimpleFunc_firstFree_149 == 0) { if (SimpleFunc_maxIndex_277 < 32768) { SimpleFunc_maxIndex_277 = (SimpleFunc_maxIndex_277 + 1); this_815 = SimpleFunc_maxIndex_277; SimpleFunc_typeId_990[this_815] = 2; } else { error171("Out of memory: Could not create SimpleFunc_test."); this_815 = 0; }; } else { SimpleFunc_firstFree_149 = (SimpleFunc_firstFree_149 - 1); this_815 = SimpleFunc_nextFree_730[SimpleFunc_firstFree_149]; SimpleFunc_typeId_990[this_815] = 2; }; clVar_206 = this_815; f_186 = clVar_206; this_124 = f_186; if (SimpleFunc_typeId_990[this_124] == 0) { if (this_124 == 0) { error171("Nullpointer exception when calling SimpleFunc.call"); } else { error171("Called SimpleFunc.call on invalid object."); }; } else { }; testSuccess718(); } IS_NATIVE function testSuccess718() { } function error171(string msg964) { $debugPrint515((msg_964 + (" " + #getStackTrace()))); }