array A_nextFree210 integer A_firstFree475 integer A_maxIndex115 array A_x177 integer A_firstFree475 = 0 integer A_maxIndex115 = 0 function initGlobals139() { } function main430() { initGlobals139(); init_test108(); } function config801() { } function init_test108() { local integer i207 local integer j407 i_207 = (new_A136(42) castTo integer); j_407 = (new_A136(43) castTo integer); if (A_x_177[(((((2 * i_207) + j_407) - j_407) - i_207) castTo integer)] == 42) { testSuccess157(); } else { }; } IS_NATIVE function testSuccess157() { } function A_init112(integer this140) { A_x_177[this_140] = 1; } function new_A136(integer x205) returns integer { local integer this149 this_149 = alloc_A580(); construct_A203(this_149, x_205); return this_149; } function construct_A203(integer this194, integer x103) { A_init112(this_194); A_x_177[this_194] = x_103; } function alloc_A580() returns integer { local integer this197 if (A_firstFree_475 == 0) { if (A_maxIndex_115 < 32768) { A_maxIndex_115 = (A_maxIndex_115 + 1); this_197 = A_maxIndex_115; } else { error581("Out of memory: Could not create A."); this_197 = 0; }; } else { A_firstFree_475 = (A_firstFree_475 - 1); this_197 = A_nextFree_210[A_firstFree_475]; }; return this_197; } function error581(string msg152) { $debugPrint419((msg_152 + (" " + #getStackTrace()))); }