integer Test_res114 array A_nextFree173 integer A_firstFree418 integer A_maxIndex123 integer Test_res114 = 1 integer A_firstFree418 = 0 integer A_maxIndex123 = 0 function initGlobals864() { A_firstFree_418 = 0; A_maxIndex_123 = 0; } function main440() { initGlobals864(); init_Test191(); } function config172() { } function init_Test191() { Test_res_114 = 1; new_A841(); new_A_11600(3); if (Test_res_114 == 15) { testSuccess413(); } else { }; } IS_NATIVE function testSuccess413() { } function A_init127(integer this953) { construct_A_Test100(this_953); } function construct_A_Test100(integer this143) { local integer x112 local integer y103 x_112 = 2; Test_res_114 = (Test_res_114 + x_112); y_103 = 1; Test_res_114 = (Test_res_114 - y_103); } function new_A841() returns integer { local integer this193 this_193 = alloc_A109(); construct_A116(this_193); return this_193; } function construct_A116(integer this143) { A_init127(this_143); Test_res_114 = (Test_res_114 * 2); } function new_A_11600(integer i109) returns integer { local integer this377 this_377 = alloc_A109(); construct_A2108(this_377, i_109); return this_377; } function construct_A2108(integer this207, integer i158) { A_init127(this_207); Test_res_114 = (Test_res_114 * i_158); } function alloc_A109() returns integer { local integer this804 if (A_firstFree_418 == 0) { if (A_maxIndex_123 < 32768) { A_maxIndex_123 = (A_maxIndex_123 + 1); this_804 = A_maxIndex_123; } else { error240("Out of memory: Could not create A."); this_804 = 0; }; } else { A_firstFree_418 = (A_firstFree_418 - 1); this_804 = A_nextFree_173[A_firstFree_418]; }; return this_804; } function error240(string msg147) { $debugPrint382((msg_147 + (" " + #getStackTrace()))); }