array SimpleFunc_nextFree144 integer SimpleFunc_firstFree115 integer SimpleFunc_maxIndex143 array SimpleFunc_typeId938 array main592 integer SimpleFunc_firstFree115 = 0 integer SimpleFunc_maxIndex143 = 0 function initGlobals113() { } function main190() { initGlobals113(); init_test633(); } function config125() { } function init_test633() { local integer this326 if (SimpleFunc_firstFree_115 == 0) { if (SimpleFunc_maxIndex_143 < 32768) { SimpleFunc_maxIndex_143 = (SimpleFunc_maxIndex_143 + 1); this_326 = SimpleFunc_maxIndex_143; SimpleFunc_typeId_938[this_326] = 2; } else { error151("Out of memory: Could not create SimpleFunc_test."); this_326 = 0; }; } else { SimpleFunc_firstFree_115 = (SimpleFunc_firstFree_115 - 1); this_326 = SimpleFunc_nextFree_144[SimpleFunc_firstFree_115]; SimpleFunc_typeId_938[this_326] = 2; }; main_592[this_326] = 4; if (SimpleFunc_typeId_938[this_326] == 0) { if (this_326 == 0) { error151("Nullpointer exception when calling SimpleFunc.apply"); } else { error151("Called SimpleFunc.apply on invalid object."); }; } else { }; if ((3 + main_592[this_326]) == 7) { testSuccess148(); } else { }; } IS_NATIVE function testSuccess148() { } function error151(string msg229) { $debugPrint100((msg_229 + (" " + #getStackTrace()))); }