array A_nextFree123 integer A_firstFree125 integer A_maxIndex146 array A_i902 integer A_firstFree125 = 0 integer A_maxIndex146 = 0 function initGlobals159() { } function main620() { initGlobals159(); init_test719(); } function config115() { } function init_test719() { if (A_op_plus214(new_A188(), new_A188()) == 4) { testSuccess156(); } else { }; } IS_NATIVE function testSuccess156() { } function A_op_plus214(integer this122, integer a112) returns integer { return (A_i_902[this_122] + A_i_902[a_112]); } function A_init167(integer this196) { A_i_902[this_196] = 2; } function new_A188() returns integer { local integer this143 this_143 = alloc_A161(); construct_A179(this_143); return this_143; } function construct_A179(integer this540) { A_init167(this_540); } function alloc_A161() returns integer { local integer this271 if (A_firstFree_125 == 0) { if (A_maxIndex_146 < 32768) { A_maxIndex_146 = (A_maxIndex_146 + 1); this_271 = A_maxIndex_146; } else { error632("Out of memory: Could not create A."); this_271 = 0; }; } else { A_firstFree_125 = (A_firstFree_125 - 1); this_271 = A_nextFree_123[A_firstFree_125]; }; return this_271; } function error632(string msg139) { $debugPrint520((msg_139 + (" " + #getStackTrace()))); }