array Blub_nextFree156 integer Blub_firstFree881 integer Blub_maxIndex168 integer Blub_firstFree881 = 0 integer Blub_maxIndex168 = 0 function initGlobals100() { } function main162() { initGlobals100(); new_Blub196(); } function config471() { } function new_Blub196() returns integer { local integer this291 if (Blub_firstFree_881 == 0) { if (Blub_maxIndex_168 < 32768) { Blub_maxIndex_168 = (Blub_maxIndex_168 + 1); this_291 = Blub_maxIndex_168; } else { error662("Out of memory: Could not create Blub."); this_291 = 0; }; } else { Blub_firstFree_881 = (Blub_firstFree_881 - 1); this_291 = Blub_nextFree_156[Blub_firstFree_881]; }; return this_291; } function error662(string msg582) { $debugPrint167((msg_582 + (" " + #getStackTrace()))); }