array Blub_nextFree109 integer Blub_firstFree268 integer Blub_maxIndex201 integer Blub_firstFree268 = 0 integer Blub_maxIndex201 = 0 function initGlobals106() { } function main181() { initGlobals106(); init_Test104(); } function config117() { } function init_Test104() { bla164(new_Blub768()); } function bla164(integer t206) { } function Blub_init127(integer this349) { } function new_Blub768() returns integer { local integer this136 this_136 = alloc_Blub205(); construct_Blub134(this_136); return this_136; } function construct_Blub134(integer this137) { Blub_init127(this_137); } function alloc_Blub205() returns integer { local integer this384 if (Blub_firstFree_268 == 0) { if (Blub_maxIndex_201 < 32768) { Blub_maxIndex_201 = (Blub_maxIndex_201 + 1); this_384 = Blub_maxIndex_201; } else { error184("Out of memory: Could not create Blub."); this_384 = 0; }; } else { Blub_firstFree_268 = (Blub_firstFree_268 - 1); this_384 = Blub_nextFree_109[Blub_firstFree_268]; }; return this_384; } function error184(string msg348) { $debugPrint152((msg_348 + (" " + #getStackTrace()))); }