array Blub_nextFree489 integer Blub_firstFree106 integer Blub_maxIndex672 integer Blub_firstFree106 = 0 integer Blub_maxIndex672 = 0 function initGlobals177() { } function main156() { initGlobals177(); init_Test139(); } function config155() { } function init_Test139() { Blub_bla429(new_Blub155()); } function Blub_bla429(integer this962) { } function Blub_init185(integer this129) { } function new_Blub155() returns integer { local integer this173 this_173 = alloc_Blub185(); construct_Blub165(this_173); return this_173; } function construct_Blub165(integer this620) { Blub_init185(this_620); } function alloc_Blub185() returns integer { local integer this516 if (Blub_firstFree_106 == 0) { if (Blub_maxIndex_672 < 32768) { Blub_maxIndex_672 = (Blub_maxIndex_672 + 1); this_516 = Blub_maxIndex_672; } else { error680("Out of memory: Could not create Blub."); this_516 = 0; }; } else { Blub_firstFree_106 = (Blub_firstFree_106 - 1); this_516 = Blub_nextFree_489[Blub_firstFree_106]; }; return this_516; } function error680(string msg730) { $debugPrint366((msg_730 + (" " + #getStackTrace()))); }