array A_nextFree197 integer A_firstFree201 integer A_maxIndex907 array A_i129 integer A_firstFree201 = 0 integer A_maxIndex907 = 0 function initGlobals195() { } function main102() { initGlobals195(); init_test130(); } function config650() { } function init_test130() { local integer a1139 local integer a2103 local integer result687 local integer this580 local integer a272 a1_139 = new_A152(); a2_103 = new_A152(); this_580 = a1_139; a_272 = a2_103; result_687 = (A_i_129[this_580] * A_i_129[a_272]); if (result_687 == 4) { testSuccess170(); } else { }; } IS_NATIVE function testSuccess170() { } function new_A152() returns integer { local integer this838 local integer this729 local integer this134 local integer this111 if (A_firstFree_201 == 0) { if (A_maxIndex_907 < 32768) { A_maxIndex_907 = (A_maxIndex_907 + 1); this_729 = A_maxIndex_907; } else { error139("Out of memory: Could not create A."); this_729 = 0; }; } else { A_firstFree_201 = (A_firstFree_201 - 1); this_729 = A_nextFree_197[A_firstFree_201]; }; this_838 = this_729; this_134 = this_838; this_111 = this_134; A_i_129[this_111] = 2; return this_838; } function error139(string msg147) { $debugPrint163((msg_147 + (" " + #getStackTrace()))); }