array SimpleFunc_nextFree316 integer SimpleFunc_firstFree199 integer SimpleFunc_maxIndex149 array SimpleFunc_typeId154 integer SimpleFunc_firstFree199 = 0 integer SimpleFunc_maxIndex149 = 0 function initGlobals139() { } function main143() { initGlobals139(); init_test154(); } function config110() { } function init_test154() { local integer clVar173 clVar_173 = alloc_SimpleFunc_test228(); dispatch_SimpleFunc_test_SimpleFunc_call693(clVar_173); testSuccess181(); } IS_NATIVE function testSuccess181() { } function call_test568(integer this129) { } function alloc_SimpleFunc_test228() returns integer { local integer this200 if (SimpleFunc_firstFree_199 == 0) { if (SimpleFunc_maxIndex_149 < 32768) { SimpleFunc_maxIndex_149 = (SimpleFunc_maxIndex_149 + 1); this_200 = SimpleFunc_maxIndex_149; SimpleFunc_typeId_154[this_200] = 2; } else { error919("Out of memory: Could not create SimpleFunc_test."); this_200 = 0; }; } else { SimpleFunc_firstFree_199 = (SimpleFunc_firstFree_199 - 1); this_200 = SimpleFunc_nextFree_316[SimpleFunc_firstFree_199]; SimpleFunc_typeId_154[this_200] = 2; }; return this_200; } function error919(string msg186) { $debugPrint457((msg_186 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call693(integer this385) { if (SimpleFunc_typeId_154[this_385] == 0) { if (this_385 == 0) { error919("Nullpointer exception when calling SimpleFunc.call"); } else { error919("Called SimpleFunc.call on invalid object."); }; } else { }; call_test568(this_385); }