array A_nextFree449 integer A_firstFree857 integer A_maxIndex187 array A_i184 integer A_firstFree857 = 0 integer A_maxIndex187 = 0 function initGlobals421() { } function main140() { initGlobals421(); init_test879(); } function config153() { } function init_test879() { if (A_i_184[new_A141()] == 1) { testSuccess210(); } else { }; } IS_NATIVE function testSuccess210() { } function A_init122(integer this145) { A_i_184[this_145] = (this_145 castTo integer); } function new_A141() returns integer { local integer this164 this_164 = alloc_A137(); construct_A566(this_164); return this_164; } function construct_A566(integer this170) { A_init122(this_170); } function alloc_A137() returns integer { local integer this213 if (A_firstFree_857 == 0) { if (A_maxIndex_187 < 32768) { A_maxIndex_187 = (A_maxIndex_187 + 1); this_213 = A_maxIndex_187; } else { error536("Out of memory: Could not create A."); this_213 = 0; }; } else { A_firstFree_857 = (A_firstFree_857 - 1); this_213 = A_nextFree_449[A_firstFree_857]; }; return this_213; } function error536(string msg726) { $debugPrint111((msg_726 + (" " + #getStackTrace()))); }