array A_nextFree151 integer A_firstFree151 integer A_maxIndex130 array A_i198 integer A_firstFree151 = 0 integer A_maxIndex130 = 0 function initGlobals163() { } function main128() { initGlobals163(); init_test214(); } function config194() { } function init_test214() { if (A_i_198[new_A423()] == 1) { testSuccess212(); } else { }; } IS_NATIVE function testSuccess212() { } function A_init263(integer this840) { A_i_198[this_840] = (this_840 castTo integer); } function new_A423() returns integer { local integer this552 this_552 = alloc_A304(); construct_A134(this_552); return this_552; } function construct_A134(integer this162) { A_init263(this_162); } function alloc_A304() returns integer { local integer this698 if (A_firstFree_151 == 0) { if (A_maxIndex_130 < 32768) { A_maxIndex_130 = (A_maxIndex_130 + 1); this_698 = A_maxIndex_130; } else { error240("Out of memory: Could not create A."); this_698 = 0; }; } else { A_firstFree_151 = (A_firstFree_151 - 1); this_698 = A_nextFree_151[A_firstFree_151]; }; return this_698; } function error240(string msg712) { $debugPrint787((msg_712 + (" " + #getStackTrace()))); }