array Blub_nextFree127 integer Blub_firstFree155 integer Blub_maxIndex203 integer Blub_firstFree155 = 0 integer Blub_maxIndex203 = 0 function initGlobals287() { Blub_firstFree_155 = 0; Blub_maxIndex_203 = 0; } function main144() { initGlobals287(); init_Test211(); } function config176() { } function init_Test211() { Blub_bla164(new_Blub147()); } function Blub_bla164(integer this305) { } function Blub_init108(integer this147) { } function new_Blub147() returns integer { local integer this389 this_389 = alloc_Blub177(); construct_Blub206(this_389); return this_389; } function construct_Blub206(integer this145) { Blub_init108(this_145); } function alloc_Blub177() returns integer { local integer this295 if (Blub_firstFree_155 == 0) { if (Blub_maxIndex_203 < 32768) { Blub_maxIndex_203 = (Blub_maxIndex_203 + 1); this_295 = Blub_maxIndex_203; } else { error379("Out of memory: Could not create Blub."); this_295 = 0; }; } else { Blub_firstFree_155 = (Blub_firstFree_155 - 1); this_295 = Blub_nextFree_127[Blub_firstFree_155]; }; return this_295; } function error379(string msg152) { $debugPrint192((msg_152 + (" " + #getStackTrace()))); }