array Cell_nextFree164 integer Cell_firstFree184 integer Cell_maxIndex180 integer Cell_firstFree184 = 0 integer Cell_maxIndex180 = 0 function initGlobals156() { } function main852() { initGlobals156(); new_Cell112(); } function config241() { } function new_Cell112() returns integer { local integer this194 if (Cell_firstFree_184 == 0) { if (Cell_maxIndex_180 < 32768) { Cell_maxIndex_180 = (Cell_maxIndex_180 + 1); this_194 = Cell_maxIndex_180; } else { error134("Out of memory: Could not create Cell."); this_194 = 0; }; } else { Cell_firstFree_184 = (Cell_firstFree_184 - 1); this_194 = Cell_nextFree_164[Cell_firstFree_184]; }; return this_194; } function error134(string msg884) { $debugPrint149((msg_884 + (" " + #getStackTrace()))); }