array A_nextFree673 integer A_firstFree597 integer A_maxIndex833 integer A_firstFree597 = 0 integer A_maxIndex833 = 0 function initGlobals107() { A_firstFree_597 = 0; A_maxIndex_833 = 0; } function main202() { initGlobals107(); init_test876(); } function config207() { } function init_test876() { local integer clVar158 clVar_158 = alloc_A_test189(); construct_A126(clVar_158); } function A_init796(integer this721) { } function construct_A126(integer this150) { A_init796(this_150); } function alloc_A_test189() returns integer { local integer this152 if (A_firstFree_597 == 0) { if (A_maxIndex_833 < 32768) { A_maxIndex_833 = (A_maxIndex_833 + 1); this_152 = A_maxIndex_833; } else { error109("Out of memory: Could not create A_test."); this_152 = 0; }; } else { A_firstFree_597 = (A_firstFree_597 - 1); this_152 = A_nextFree_673[A_firstFree_597]; }; return this_152; } function error109(string msg317) { $debugPrint175((msg_317 + (" " + #getStackTrace()))); }