array A_nextFree792 integer A_firstFree213 integer A_maxIndex138 array A_i258 integer A_firstFree213 = 0 integer A_maxIndex138 = 0 function initGlobals516() { A_firstFree_213 = 0; A_maxIndex_138 = 0; } function main827() { initGlobals516(); init_test680(); } function config828() { } function init_test680() { local integer a129 a_129 = new_A158(); if (A_i_258[a_129] == 1) { testSuccess402(); } else { }; } IS_NATIVE function testSuccess402() { } function A_init912(integer this922) { A_i_258[this_922] = (this_922 castTo integer); } function new_A158() returns integer { local integer this957 this_957 = alloc_A111(); construct_A632(this_957); return this_957; } function construct_A632(integer this132) { A_init912(this_132); } function alloc_A111() returns integer { local integer this105 if (A_firstFree_213 == 0) { if (A_maxIndex_138 < 32768) { A_maxIndex_138 = (A_maxIndex_138 + 1); this_105 = A_maxIndex_138; } else { error158("Out of memory: Could not create A."); this_105 = 0; }; } else { A_firstFree_213 = (A_firstFree_213 - 1); this_105 = A_nextFree_792[A_firstFree_213]; }; return this_105; } function error158(string msg479) { $debugPrint194((msg_479 + (" " + #getStackTrace()))); }