array Func_nextFree664 integer Func_firstFree166 integer Func_maxIndex206 array Func_typeId686 integer Func_firstFree166 = 0 integer Func_maxIndex206 = 0 integer Func2_firstFree741 = 0 integer Func2_maxIndex122 = 0 function initGlobals577() { } function main441() { initGlobals577(); init_A873(); } function config614() { } function init_A873() { local integer this640 if (Func_firstFree_166 == 0) { if (Func_maxIndex_206 < 32768) { Func_maxIndex_206 = (Func_maxIndex_206 + 1); this_640 = Func_maxIndex_206; Func_typeId_686[this_640] = 2; } else { error300("Out of memory: Could not create Func_bar_A."); this_640 = 0; }; } else { Func_firstFree_166 = (Func_firstFree_166 - 1); this_640 = Func_nextFree_664[Func_firstFree_166]; Func_typeId_686[this_640] = 2; }; if (Func_typeId_686[this_640] == 0) { if (this_640 == 0) { error300("Nullpointer exception when calling Func.apply"); } else { error300("Called Func.apply on invalid object."); }; } else { }; testSuccess120(); } IS_NATIVE function testSuccess120() { } function error300(string msg172) { $debugPrint997((msg_172 + (" " + #getStackTrace()))); }