array A_nextFree307 integer A_firstFree861 integer A_maxIndex687 array A_i147 integer A_firstFree861 = 0 integer A_maxIndex687 = 0 function initGlobals181() { } function main188() { local integer a853 initGlobals181(); a_853 = new_A137(); if (A_i_147[a_853] == 1) { testSuccess660(); } else { }; } function config172() { } IS_NATIVE function testSuccess660() { } function new_A137() returns integer { local integer this698 local integer this111 local integer this100 local integer this201 if (A_firstFree_861 == 0) { if (A_maxIndex_687 < 32768) { A_maxIndex_687 = (A_maxIndex_687 + 1); this_111 = A_maxIndex_687; } else { error459("Out of memory: Could not create A."); this_111 = 0; }; } else { A_firstFree_861 = (A_firstFree_861 - 1); this_111 = A_nextFree_307[A_firstFree_861]; }; this_698 = this_111; this_100 = this_698; this_201 = this_100; A_i_147[this_201] = (this_201 castTo integer); return this_698; } function error459(string msg110) { $debugPrint776((msg_110 + (" " + #getStackTrace()))); }