array SimpleFunc_nextFree141 integer SimpleFunc_firstFree164 integer SimpleFunc_maxIndex359 array SimpleFunc_typeId165 array y988 integer SimpleFunc_firstFree164 = 0 integer SimpleFunc_maxIndex359 = 0 function initGlobals194() { } function main216() { initGlobals194(); init_test195(); } function config162() { } function init_test195() { local integer this369 if (SimpleFunc_firstFree_164 == 0) { if (SimpleFunc_maxIndex_359 < 32768) { SimpleFunc_maxIndex_359 = (SimpleFunc_maxIndex_359 + 1); this_369 = SimpleFunc_maxIndex_359; SimpleFunc_typeId_165[this_369] = 2; } else { error231("Out of memory: Could not create SimpleFunc_test."); this_369 = 0; }; } else { SimpleFunc_firstFree_164 = (SimpleFunc_firstFree_164 - 1); this_369 = SimpleFunc_nextFree_141[SimpleFunc_firstFree_164]; SimpleFunc_typeId_165[this_369] = 2; }; y_988[this_369] = 4; if (SimpleFunc_typeId_165[this_369] == 0) { if (this_369 == 0) { error231("Nullpointer exception when calling SimpleFunc.apply"); } else { error231("Called SimpleFunc.apply on invalid object."); }; } else { }; this_369 = (y_988[this_369] + 3); if (this_369 == 7) { testSuccess741(); } else { }; } IS_NATIVE function testSuccess741() { } function error231(string msg153) { $debugPrint148((msg_153 + (" " + #getStackTrace()))); }