array Func_nextFree298 integer Func_firstFree209 integer Func_maxIndex198 array Func_typeId209 integer Func_firstFree209 = 0 integer Func_maxIndex198 = 0 integer Func2_firstFree418 = 0 integer Func2_maxIndex129 = 0 function initGlobals189() { } function main146() { initGlobals189(); init_A155(); } function config112() { } function init_A155() { local integer clVar119 local integer this664 local integer f452 local integer this109 local integer x905 local integer A_Func_apply_result139 local integer x119 if (Func_firstFree_209 == 0) { if (Func_maxIndex_198 < 32768) { Func_maxIndex_198 = (Func_maxIndex_198 + 1); this_664 = Func_maxIndex_198; Func_typeId_209[this_664] = 2; } else { error136("Out of memory: Could not create Func_bar_A."); this_664 = 0; }; } else { Func_firstFree_209 = (Func_firstFree_209 - 1); this_664 = Func_nextFree_298[Func_firstFree_209]; Func_typeId_209[this_664] = 2; }; clVar_119 = this_664; f_452 = clVar_119; this_109 = f_452; x_905 = 1; if (Func_typeId_209[this_109] == 0) { if (this_109 == 0) { error136("Nullpointer exception when calling Func.apply"); } else { error136("Called Func.apply on invalid object."); }; } else { }; x_119 = x_905; A_Func_apply_result_139 = (x_119 + 1); if (A_Func_apply_result_139 == 2) { testSuccess114(); } else { }; } IS_NATIVE function testSuccess114() { } function error136(string msg265) { $debugPrint183((msg_265 + (" " + #getStackTrace()))); }