array A_nextFree697 integer A_firstFree591 integer A_maxIndex215 integer A_firstFree591 = 0 integer A_maxIndex215 = 0 function initGlobals742() { A_firstFree_591 = 0; A_maxIndex_215 = 0; } function main178() { initGlobals742(); init_test467(); } function config111() { } function init_test467() { local integer clVar171 clVar_171 = alloc_A_test115(); construct_A161(clVar_171); } function A_init146(integer this319) { } function construct_A161(integer this315) { A_init146(this_315); } function alloc_A_test115() returns integer { local integer this135 if (A_firstFree_591 == 0) { if (A_maxIndex_215 < 32768) { A_maxIndex_215 = (A_maxIndex_215 + 1); this_135 = A_maxIndex_215; } else { error731("Out of memory: Could not create A_test."); this_135 = 0; }; } else { A_firstFree_591 = (A_firstFree_591 - 1); this_135 = A_nextFree_697[A_firstFree_591]; }; return this_135; } function error731(string msg197) { $debugPrint118((msg_197 + (" " + #getStackTrace()))); }