array C_nextFree377 integer C_firstFree174 integer C_maxIndex206 integer C_firstFree174 = 0 integer C_maxIndex206 = 0 function initGlobals106() { } function main334() { initGlobals106(); new_C162(); } function config461() { } function new_C162() returns integer { local integer this662 local integer this238 if (C_firstFree_174 == 0) { if (C_maxIndex_206 < 32768) { C_maxIndex_206 = (C_maxIndex_206 + 1); this_238 = C_maxIndex_206; } else { error964("Out of memory: Could not create C."); this_238 = 0; }; } else { C_firstFree_174 = (C_firstFree_174 - 1); this_238 = C_nextFree_377[C_firstFree_174]; }; this_662 = this_238; return this_662; } function error964(string msg949) { $debugPrint105((msg_949 + (" " + #getStackTrace()))); }