array A_nextFree190 integer A_firstFree152 integer A_maxIndex115 integer A_firstFree152 = 0 integer A_maxIndex115 = 0 function initGlobals195() { A_firstFree_152 = 0; A_maxIndex_115 = 0; } function main131() { initGlobals195(); init_test140(); } function config326() { } function init_test140() { new_A206(1); testSuccess188(); } IS_NATIVE function testSuccess188() { } function A_init106(integer this203) { } function new_A206(integer i725) returns integer { local integer this161 this_161 = alloc_A166(); construct_A130(this_161, i_725); return this_161; } function construct_A130(integer this749, integer i343) { A_init106(this_749); } function alloc_A166() returns integer { local integer this556 if (A_firstFree_152 == 0) { if (A_maxIndex_115 < 32768) { A_maxIndex_115 = (A_maxIndex_115 + 1); this_556 = A_maxIndex_115; } else { error424("Out of memory: Could not create A."); this_556 = 0; }; } else { A_firstFree_152 = (A_firstFree_152 - 1); this_556 = A_nextFree_190[A_firstFree_152]; }; return this_556; } function error424(string msg369) { $debugPrint189((msg_369 + (" " + #getStackTrace()))); }