array A_nextFree188 integer A_firstFree139 integer A_maxIndex805 integer A_firstFree139 = 0 integer A_maxIndex805 = 0 function initGlobals147() { A_firstFree_139 = 0; A_maxIndex_805 = 0; } function main117() { initGlobals147(); init_test235(); } function config196() { } function init_test235() { local integer clVar210 clVar_210 = alloc_A_test145(); construct_A127(clVar_210); } function A_init844(integer this106) { } function construct_A127(integer this364) { A_init844(this_364); } function alloc_A_test145() returns integer { local integer this200 if (A_firstFree_139 == 0) { if (A_maxIndex_805 < 32768) { A_maxIndex_805 = (A_maxIndex_805 + 1); this_200 = A_maxIndex_805; } else { error164("Out of memory: Could not create A_test."); this_200 = 0; }; } else { A_firstFree_139 = (A_firstFree_139 - 1); this_200 = A_nextFree_188[A_firstFree_139]; }; return this_200; } function error164(string msg124) { $debugPrint961((msg_124 + (" " + #getStackTrace()))); }