array SimpleFunc_nextFree903 integer SimpleFunc_firstFree126 integer SimpleFunc_maxIndex379 array SimpleFunc_typeId159 array y451 integer SimpleFunc_firstFree126 = 0 integer SimpleFunc_maxIndex379 = 0 function initGlobals538() { } function main167() { initGlobals538(); init_test864(); } function config188() { } function init_test864() { local integer this457 if (SimpleFunc_firstFree_126 == 0) { if (SimpleFunc_maxIndex_379 < 32768) { SimpleFunc_maxIndex_379 = (SimpleFunc_maxIndex_379 + 1); this_457 = SimpleFunc_maxIndex_379; SimpleFunc_typeId_159[this_457] = 2; } else { error759("Out of memory: Could not create SimpleFunc_test."); this_457 = 0; }; } else { SimpleFunc_firstFree_126 = (SimpleFunc_firstFree_126 - 1); this_457 = SimpleFunc_nextFree_903[SimpleFunc_firstFree_126]; SimpleFunc_typeId_159[this_457] = 2; }; y_451[this_457] = 4; if (SimpleFunc_typeId_159[this_457] == 0) { if (this_457 == 0) { error759("Nullpointer exception when calling SimpleFunc.apply"); } else { error759("Called SimpleFunc.apply on invalid object."); }; } else { }; this_457 = (y_451[this_457] + 3); if (this_457 == 7) { testSuccess149(); } else { }; } IS_NATIVE function testSuccess149() { } function error759(string msg202) { $debugPrint122((msg_202 + (" " + #getStackTrace()))); }