array SimpleFunc_nextFree321 integer SimpleFunc_firstFree105 integer SimpleFunc_maxIndex786 array SimpleFunc_typeId110 integer SimpleFunc_firstFree105 = 0 integer SimpleFunc_maxIndex786 = 0 function initGlobals989() { } function main647() { initGlobals989(); init_test337(); } function config652() { } function init_test337() { local integer clVar815 clVar_815 = alloc_SimpleFunc_test186(); dispatch_SimpleFunc_test_SimpleFunc_call139(clVar_815); testSuccess166(); } IS_NATIVE function testSuccess166() { } function call_test272(integer this117) { } function alloc_SimpleFunc_test186() returns integer { local integer this929 if (SimpleFunc_firstFree_105 == 0) { if (SimpleFunc_maxIndex_786 < 32768) { SimpleFunc_maxIndex_786 = (SimpleFunc_maxIndex_786 + 1); this_929 = SimpleFunc_maxIndex_786; SimpleFunc_typeId_110[this_929] = 2; } else { error124("Out of memory: Could not create SimpleFunc_test."); this_929 = 0; }; } else { SimpleFunc_firstFree_105 = (SimpleFunc_firstFree_105 - 1); this_929 = SimpleFunc_nextFree_321[SimpleFunc_firstFree_105]; SimpleFunc_typeId_110[this_929] = 2; }; return this_929; } function error124(string msg411) { $debugPrint214((msg_411 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call139(integer this153) { if (SimpleFunc_typeId_110[this_153] == 0) { if (this_153 == 0) { error124("Nullpointer exception when calling SimpleFunc.call"); } else { error124("Called SimpleFunc.call on invalid object."); }; } else { }; call_test272(this_153); }