array SimpleFunc_nextFree422 integer SimpleFunc_firstFree206 integer SimpleFunc_maxIndex780 array SimpleFunc_typeId103 array main739 integer SimpleFunc_firstFree206 = 0 integer SimpleFunc_maxIndex780 = 0 function initGlobals150() { } function main897() { initGlobals150(); init_test184(); } function config176() { } function init_test184() { local integer this202 if (SimpleFunc_firstFree_206 == 0) { if (SimpleFunc_maxIndex_780 < 32768) { SimpleFunc_maxIndex_780 = (SimpleFunc_maxIndex_780 + 1); this_202 = SimpleFunc_maxIndex_780; SimpleFunc_typeId_103[this_202] = 2; } else { error100("Out of memory: Could not create SimpleFunc_test."); this_202 = 0; }; } else { SimpleFunc_firstFree_206 = (SimpleFunc_firstFree_206 - 1); this_202 = SimpleFunc_nextFree_422[SimpleFunc_firstFree_206]; SimpleFunc_typeId_103[this_202] = 2; }; main_739[this_202] = 4; if (SimpleFunc_typeId_103[this_202] == 0) { if (this_202 == 0) { error100("Nullpointer exception when calling SimpleFunc.apply"); } else { error100("Called SimpleFunc.apply on invalid object."); }; } else { }; if ((3 + main_739[this_202]) == 7) { testSuccess156(); } else { }; } IS_NATIVE function testSuccess156() { } function error100(string msg199) { $debugPrint609((msg_199 + (" " + #getStackTrace()))); }