array Blub_nextFree896 integer Blub_firstFree165 integer Blub_maxIndex131 integer Blub_firstFree165 = 0 integer Blub_maxIndex131 = 0 function initGlobals133() { } function main211() { initGlobals133(); new_Blub728(); } function config184() { } function new_Blub728() returns integer { local integer this115 if (Blub_firstFree_165 == 0) { if (Blub_maxIndex_131 < 32768) { Blub_maxIndex_131 = (Blub_maxIndex_131 + 1); this_115 = Blub_maxIndex_131; } else { error161("Out of memory: Could not create Blub."); this_115 = 0; }; } else { Blub_firstFree_165 = (Blub_firstFree_165 - 1); this_115 = Blub_nextFree_896[Blub_firstFree_165]; }; return this_115; } function error161(string msg760) { $debugPrint107((msg_760 + (" " + #getStackTrace()))); }