array A_nextFree992 integer A_firstFree956 integer A_maxIndex109 array Func_nextFree191 integer Func_firstFree141 integer Func_maxIndex108 array Func_typeId206 array A_f164 integer A_firstFree956 = 0 integer A_maxIndex109 = 0 integer Func_firstFree141 = 0 integer Func_maxIndex108 = 0 function initGlobals188() { } function main176() { initGlobals188(); init_test119(); } function config337() { } function init_test119() { local integer a505 local integer this193 local integer x136 local integer test_Func_apply_result426 local integer x167 a_505 = new_A265(); this_193 = A_f_164[a_505]; x_136 = 3; if (Func_typeId_206[this_193] == 0) { if (this_193 == 0) { error702("Nullpointer exception when calling Func.apply"); } else { error702("Called Func.apply on invalid object."); }; } else { }; x_167 = x_136; test_Func_apply_result_426 = (x_167 + 1); if (test_Func_apply_result_426 == 4) { testSuccess108(); } else { }; } IS_NATIVE function testSuccess108() { } function new_A265() returns integer { local integer this637 local integer this500 local integer this179 local integer this273 local integer clVar130 local integer this105 if (A_firstFree_956 == 0) { if (A_maxIndex_109 < 32768) { A_maxIndex_109 = (A_maxIndex_109 + 1); this_500 = A_maxIndex_109; } else { error702("Out of memory: Could not create A."); this_500 = 0; }; } else { A_firstFree_956 = (A_firstFree_956 - 1); this_500 = A_nextFree_992[A_firstFree_956]; }; this_637 = this_500; this_179 = this_637; this_273 = this_179; if (Func_firstFree_141 == 0) { if (Func_maxIndex_108 < 32768) { Func_maxIndex_108 = (Func_maxIndex_108 + 1); this_105 = Func_maxIndex_108; Func_typeId_206[this_105] = 3; } else { error702("Out of memory: Could not create Func_A_test."); this_105 = 0; }; } else { Func_firstFree_141 = (Func_firstFree_141 - 1); this_105 = Func_nextFree_191[Func_firstFree_141]; Func_typeId_206[this_105] = 3; }; clVar_130 = this_105; A_f_164[this_273] = clVar_130; return this_637; } function error702(string msg132) { $debugPrint105((msg_132 + (" " + #getStackTrace()))); }