array Cell_nextFree187 integer Cell_firstFree122 integer Cell_maxIndex914 integer Cell_firstFree122 = 0 integer Cell_maxIndex914 = 0 function initGlobals932() { } function main147() { initGlobals932(); new_Cell172(); } function config990() { } function new_Cell172() returns integer { local integer this489 local integer this195 if (Cell_firstFree_122 == 0) { if (Cell_maxIndex_914 < 32768) { Cell_maxIndex_914 = (Cell_maxIndex_914 + 1); this_195 = Cell_maxIndex_914; } else { error130("Out of memory: Could not create Cell."); this_195 = 0; }; } else { Cell_firstFree_122 = (Cell_firstFree_122 - 1); this_195 = Cell_nextFree_187[Cell_firstFree_122]; }; this_489 = this_195; return this_489; } function error130(string msg999) { $debugPrint160((msg_999 + (" " + #getStackTrace()))); }