array Func_nextFree147 integer Func_firstFree959 integer Func_maxIndex148 array Func_typeId848 integer Func_firstFree959 = 0 integer Func_maxIndex148 = 0 integer Func2_firstFree107 = 0 integer Func2_maxIndex142 = 0 function initGlobals599() { } function main265() { initGlobals599(); init_A204(); } function config133() { } function init_A204() { local integer clVar562 local integer this339 local integer f692 local integer this192 local integer x277 local integer A_Func_apply_result178 local integer x485 if (Func_firstFree_959 == 0) { if (Func_maxIndex_148 < 32768) { Func_maxIndex_148 = (Func_maxIndex_148 + 1); this_339 = Func_maxIndex_148; Func_typeId_848[this_339] = 2; } else { error137("Out of memory: Could not create Func_bar_A."); this_339 = 0; }; } else { Func_firstFree_959 = (Func_firstFree_959 - 1); this_339 = Func_nextFree_147[Func_firstFree_959]; Func_typeId_848[this_339] = 2; }; clVar_562 = this_339; f_692 = clVar_562; this_192 = f_692; x_277 = 1; if (Func_typeId_848[this_192] == 0) { if (this_192 == 0) { error137("Nullpointer exception when calling Func.apply"); } else { error137("Called Func.apply on invalid object."); }; } else { }; x_485 = x_277; A_Func_apply_result_178 = (x_485 + 1); if (A_Func_apply_result_178 == 2) { testSuccess167(); } else { }; } IS_NATIVE function testSuccess167() { } function error137(string msg828) { $debugPrint277((msg_828 + (" " + #getStackTrace()))); }