array A_nextFree150 integer A_firstFree808 integer A_maxIndex102 integer A_firstFree808 = 0 integer A_maxIndex102 = 0 function initGlobals105() { A_firstFree_808 = 0; A_maxIndex_102 = 0; } function main173() { initGlobals105(); init_test155(); } function config189() { } function init_test155() { new_A202(1); testSuccess139(); } IS_NATIVE function testSuccess139() { } function A_init610(integer this825) { } function new_A202(integer i205) returns integer { local integer this106 this_106 = alloc_A903(); construct_A748(this_106, i_205); return this_106; } function construct_A748(integer this140, integer i364) { A_init610(this_140); } function alloc_A903() returns integer { local integer this188 if (A_firstFree_808 == 0) { if (A_maxIndex_102 < 32768) { A_maxIndex_102 = (A_maxIndex_102 + 1); this_188 = A_maxIndex_102; } else { error199("Out of memory: Could not create A."); this_188 = 0; }; } else { A_firstFree_808 = (A_firstFree_808 - 1); this_188 = A_nextFree_150[A_firstFree_808]; }; return this_188; } function error199(string msg584) { $debugPrint179((msg_584 + (" " + #getStackTrace()))); }