array Blub_nextFree640 integer Blub_firstFree101 integer Blub_maxIndex118 integer Blub_firstFree101 = 0 integer Blub_maxIndex118 = 0 function initGlobals120() { Blub_firstFree_101 = 0; Blub_maxIndex_118 = 0; } function main153() { initGlobals120(); init_Test576(); } function config133() { } function init_Test576() { Blub_bla855(new_Blub941()); } function Blub_bla855(integer this123) { } function Blub_init181(integer this176) { } function new_Blub941() returns integer { local integer this203 this_203 = alloc_Blub201(); construct_Blub156(this_203); return this_203; } function construct_Blub156(integer this144) { Blub_init181(this_144); } function alloc_Blub201() returns integer { local integer this392 if (Blub_firstFree_101 == 0) { if (Blub_maxIndex_118 < 32768) { Blub_maxIndex_118 = (Blub_maxIndex_118 + 1); this_392 = Blub_maxIndex_118; } else { error342("Out of memory: Could not create Blub."); this_392 = 0; }; } else { Blub_firstFree_101 = (Blub_firstFree_101 - 1); this_392 = Blub_nextFree_640[Blub_firstFree_101]; }; return this_392; } function error342(string msg346) { $debugPrint124((msg_346 + (" " + #getStackTrace()))); }