array Func_nextFree151 integer Func_firstFree149 integer Func_maxIndex965 array Func_typeId183 integer Func_firstFree149 = 0 integer Func_maxIndex965 = 0 integer Func2_firstFree179 = 0 integer Func2_maxIndex132 = 0 function initGlobals142() { } function main112() { initGlobals142(); init_A682(); } function config622() { } function init_A682() { local integer clVar636 local integer this524 local integer f190 local integer this107 local integer x103 local integer A_Func_apply_result189 local integer x733 if (Func_firstFree_149 == 0) { if (Func_maxIndex_965 < 32768) { Func_maxIndex_965 = (Func_maxIndex_965 + 1); this_524 = Func_maxIndex_965; Func_typeId_183[this_524] = 2; } else { error138("Out of memory: Could not create Func_bar_A."); this_524 = 0; }; } else { Func_firstFree_149 = (Func_firstFree_149 - 1); this_524 = Func_nextFree_151[Func_firstFree_149]; Func_typeId_183[this_524] = 2; }; clVar_636 = this_524; f_190 = clVar_636; this_107 = f_190; x_103 = 1; if (Func_typeId_183[this_107] == 0) { if (this_107 == 0) { error138("Nullpointer exception when calling Func.apply"); } else { error138("Called Func.apply on invalid object."); }; } else { }; x_733 = x_103; A_Func_apply_result_189 = (x_733 + 1); if (A_Func_apply_result_189 == 2) { testSuccess189(); } else { }; } IS_NATIVE function testSuccess189() { } function error138(string msg129) { $debugPrint169((msg_129 + (" " + #getStackTrace()))); }