array A_nextFree134 integer A_firstFree188 integer A_maxIndex854 integer A_firstFree188 = 0 integer A_maxIndex854 = 0 function initGlobals171() { } function main131() { initGlobals171(); init_test198(); } function config120() { } function init_test198() { new_A756(); } function A_init122(integer this105) { } function new_A756() returns integer { local integer this207 this_207 = alloc_A802(); construct_A2142(this_207); return this_207; } function construct_A2142(integer this136) { A_init122(this_136); } function alloc_A802() returns integer { local integer this803 if (A_firstFree_188 == 0) { if (A_maxIndex_854 < 32768) { A_maxIndex_854 = (A_maxIndex_854 + 1); this_803 = A_maxIndex_854; } else { error183("Out of memory: Could not create A."); this_803 = 0; }; } else { A_firstFree_188 = (A_firstFree_188 - 1); this_803 = A_nextFree_134[A_firstFree_188]; }; return this_803; } function error183(string msg169) { $debugPrint461((msg_169 + (" " + #getStackTrace()))); }