array A_nextFree108 integer A_firstFree293 integer A_maxIndex207 integer A_firstFree293 = 0 integer A_maxIndex207 = 0 function initGlobals156() { } function main144() { initGlobals156(); init_test140(); } function config591() { } function init_test140() { new_A223(1); testSuccess186(); } IS_NATIVE function testSuccess186() { } function A_init817(integer this104) { } function new_A223(integer i349) returns integer { local integer this754 this_754 = alloc_A161(); construct_A108(this_754, i_349); return this_754; } function construct_A108(integer this142, integer i103) { A_init817(this_142); } function alloc_A161() returns integer { local integer this458 if (A_firstFree_293 == 0) { if (A_maxIndex_207 < 32768) { A_maxIndex_207 = (A_maxIndex_207 + 1); this_458 = A_maxIndex_207; } else { error297("Out of memory: Could not create A."); this_458 = 0; }; } else { A_firstFree_293 = (A_firstFree_293 - 1); this_458 = A_nextFree_108[A_firstFree_293]; }; return this_458; } function error297(string msg173) { $debugPrint928((msg_173 + (" " + #getStackTrace()))); }