array Blub_nextFree186 integer Blub_firstFree866 integer Blub_maxIndex115 integer Blub_firstFree866 = 0 integer Blub_maxIndex115 = 0 function initGlobals204() { } function main378() { initGlobals204(); init_Test195(); } function config213() { } function init_Test195() { bla568(new_Blub155()); } function bla568(integer t401) { } function Blub_init122(integer this177) { } function new_Blub155() returns integer { local integer this185 this_185 = alloc_Blub120(); construct_Blub104(this_185); return this_185; } function construct_Blub104(integer this575) { Blub_init122(this_575); } function alloc_Blub120() returns integer { local integer this646 if (Blub_firstFree_866 == 0) { if (Blub_maxIndex_115 < 32768) { Blub_maxIndex_115 = (Blub_maxIndex_115 + 1); this_646 = Blub_maxIndex_115; } else { error153("Out of memory: Could not create Blub."); this_646 = 0; }; } else { Blub_firstFree_866 = (Blub_firstFree_866 - 1); this_646 = Blub_nextFree_186[Blub_firstFree_866]; }; return this_646; } function error153(string msg158) { $debugPrint988((msg_158 + (" " + #getStackTrace()))); }