array SimpleFunc_nextFree171 integer SimpleFunc_firstFree149 integer SimpleFunc_maxIndex911 array SimpleFunc_typeId302 integer SimpleFunc_firstFree149 = 0 integer SimpleFunc_maxIndex911 = 0 function initGlobals143() { } function main131() { initGlobals143(); init_test514(); } function config550() { } function init_test514() { local integer this330 if (SimpleFunc_firstFree_149 == 0) { if (SimpleFunc_maxIndex_911 < 32768) { SimpleFunc_maxIndex_911 = (SimpleFunc_maxIndex_911 + 1); this_330 = SimpleFunc_maxIndex_911; SimpleFunc_typeId_302[this_330] = 2; } else { error127("Out of memory: Could not create SimpleFunc_test."); this_330 = 0; }; } else { SimpleFunc_firstFree_149 = (SimpleFunc_firstFree_149 - 1); this_330 = SimpleFunc_nextFree_171[SimpleFunc_firstFree_149]; SimpleFunc_typeId_302[this_330] = 2; }; if (SimpleFunc_typeId_302[this_330] == 0) { if (this_330 == 0) { error127("Nullpointer exception when calling SimpleFunc.apply"); } else { error127("Called SimpleFunc.apply on invalid object."); }; } else { }; testSuccess992(); } IS_NATIVE function testSuccess992() { } function error127(string msg996) { $debugPrint101((msg_996 + (" " + #getStackTrace()))); }