array A_nextFree127 integer A_firstFree593 integer A_maxIndex258 array A_i294 integer A_firstFree593 = 0 integer A_maxIndex258 = 0 function initGlobals212() { } function main334() { local integer a214 initGlobals212(); a_214 = new_A165(); if (A_i_294[a_214] == 1) { testSuccess108(); } else { }; } function config142() { } IS_NATIVE function testSuccess108() { } function new_A165() returns integer { local integer this132 local integer this100 local integer this446 local integer this396 if (A_firstFree_593 == 0) { if (A_maxIndex_258 < 32768) { A_maxIndex_258 = (A_maxIndex_258 + 1); this_100 = A_maxIndex_258; } else { error183("Out of memory: Could not create A."); this_100 = 0; }; } else { A_firstFree_593 = (A_firstFree_593 - 1); this_100 = A_nextFree_127[A_firstFree_593]; }; this_132 = this_100; this_446 = this_132; this_396 = this_446; A_i_294[this_396] = (this_396 castTo integer); return this_132; } function error183(string msg225) { $debugPrint227((msg_225 + (" " + #getStackTrace()))); }