array SimpleFunc_nextFree138 integer SimpleFunc_firstFree179 integer SimpleFunc_maxIndex355 array SimpleFunc_typeId633 integer SimpleFunc_firstFree179 = 0 integer SimpleFunc_maxIndex355 = 0 function initGlobals146() { SimpleFunc_firstFree_179 = 0; SimpleFunc_maxIndex_355 = 0; } function main104() { initGlobals146(); init_test113(); } function config161() { } function init_test113() { local integer f110 local integer clVar668 clVar_668 = alloc_SimpleFunc_test780(); f_110 = clVar_668; dispatch_SimpleFunc_test_SimpleFunc_call158(f_110); testSuccess972(); } IS_NATIVE function testSuccess972() { } function call_test435(integer this171) { } function alloc_SimpleFunc_test780() returns integer { local integer this911 if (SimpleFunc_firstFree_179 == 0) { if (SimpleFunc_maxIndex_355 < 32768) { SimpleFunc_maxIndex_355 = (SimpleFunc_maxIndex_355 + 1); this_911 = SimpleFunc_maxIndex_355; SimpleFunc_typeId_633[this_911] = 2; } else { error559("Out of memory: Could not create SimpleFunc_test."); this_911 = 0; }; } else { SimpleFunc_firstFree_179 = (SimpleFunc_firstFree_179 - 1); this_911 = SimpleFunc_nextFree_138[SimpleFunc_firstFree_179]; SimpleFunc_typeId_633[this_911] = 2; }; return this_911; } function error559(string msg948) { $debugPrint188((msg_948 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call158(integer this262) { if (SimpleFunc_typeId_633[this_262] == 0) { if (this_262 == 0) { error559("Nullpointer exception when calling SimpleFunc.call"); } else { error559("Called SimpleFunc.call on invalid object."); }; } else { }; call_test435(this_262); }