array A_nextFree110 integer A_firstFree624 integer A_maxIndex173 integer A_firstFree624 = 0 integer A_maxIndex173 = 0 function initGlobals883() { A_firstFree_624 = 0; A_maxIndex_173 = 0; } function main182() { initGlobals883(); init_test184(); } function config350() { } function init_test184() { if (1 < 3) { new_B132(); } else { }; } function A_init802(integer this939) { } function construct_A139(integer this370) { A_init802(this_370); } function B_init887(integer this247) { } function new_B132() returns integer { local integer this405 this_405 = alloc_B180(); construct_B263(this_405); return this_405; } function construct_B263(integer this169) { construct_A139(this_169); B_init887(this_169); } function error387(string msg179) { $debugPrint145((msg_179 + (" " + #getStackTrace()))); } function alloc_B180() returns integer { local integer this125 if (A_firstFree_624 == 0) { if (A_maxIndex_173 < 32768) { A_maxIndex_173 = (A_maxIndex_173 + 1); this_125 = A_maxIndex_173; } else { error387("Out of memory: Could not create B."); this_125 = 0; }; } else { A_firstFree_624 = (A_firstFree_624 - 1); this_125 = A_nextFree_110[A_firstFree_624]; }; return this_125; }