array SimpleFunc_nextFree507 integer SimpleFunc_firstFree214 integer SimpleFunc_maxIndex320 array SimpleFunc_typeId163 integer SimpleFunc_firstFree214 = 0 integer SimpleFunc_maxIndex320 = 0 function initGlobals919() { SimpleFunc_firstFree_214 = 0; SimpleFunc_maxIndex_320 = 0; } function main104() { initGlobals919(); init_test253(); } function config211() { } function init_test253() { local integer f159 local integer clVar135 clVar_135 = alloc_SimpleFunc_test199(); f_159 = clVar_135; dispatch_SimpleFunc_test_SimpleFunc_call718(f_159); testSuccess246(); } IS_NATIVE function testSuccess246() { } function call_test113(integer this914) { } function alloc_SimpleFunc_test199() returns integer { local integer this498 if (SimpleFunc_firstFree_214 == 0) { if (SimpleFunc_maxIndex_320 < 32768) { SimpleFunc_maxIndex_320 = (SimpleFunc_maxIndex_320 + 1); this_498 = SimpleFunc_maxIndex_320; SimpleFunc_typeId_163[this_498] = 2; } else { error144("Out of memory: Could not create SimpleFunc_test."); this_498 = 0; }; } else { SimpleFunc_firstFree_214 = (SimpleFunc_firstFree_214 - 1); this_498 = SimpleFunc_nextFree_507[SimpleFunc_firstFree_214]; SimpleFunc_typeId_163[this_498] = 2; }; return this_498; } function error144(string msg192) { $debugPrint196((msg_192 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call718(integer this189) { if (SimpleFunc_typeId_163[this_189] == 0) { if (this_189 == 0) { error144("Nullpointer exception when calling SimpleFunc.call"); } else { error144("Called SimpleFunc.call on invalid object."); }; } else { }; call_test113(this_189); }