array Blub_nextFree126 integer Blub_firstFree254 integer Blub_maxIndex130 integer Blub_firstFree254 = 0 integer Blub_maxIndex130 = 0 function initGlobals151() { Blub_firstFree_254 = 0; Blub_maxIndex_130 = 0; } function main185() { initGlobals151(); init_Test196(); } function config592() { } function init_Test196() { bla209(new_Blub110()); } function bla209(integer t177) { } function Blub_init115(integer this647) { } function new_Blub110() returns integer { local integer this926 this_926 = alloc_Blub126(); construct_Blub185(this_926); return this_926; } function construct_Blub185(integer this113) { Blub_init115(this_113); } function alloc_Blub126() returns integer { local integer this150 if (Blub_firstFree_254 == 0) { if (Blub_maxIndex_130 < 32768) { Blub_maxIndex_130 = (Blub_maxIndex_130 + 1); this_150 = Blub_maxIndex_130; } else { error932("Out of memory: Could not create Blub."); this_150 = 0; }; } else { Blub_firstFree_254 = (Blub_firstFree_254 - 1); this_150 = Blub_nextFree_126[Blub_firstFree_254]; }; return this_150; } function error932(string msg869) { $debugPrint794((msg_869 + (" " + #getStackTrace()))); }