array Blub_nextFree114 integer Blub_firstFree185 integer Blub_maxIndex174 integer Blub_firstFree185 = 0 integer Blub_maxIndex174 = 0 function initGlobals113() { Blub_firstFree_185 = 0; Blub_maxIndex_174 = 0; } function main199() { initGlobals113(); init_Test104(); } function config202() { } function init_Test104() { bla255(new_Blub360()); } function bla255(integer t597) { } function Blub_init203(integer this204) { } function new_Blub360() returns integer { local integer this431 this_431 = alloc_Blub257(); construct_Blub176(this_431); return this_431; } function construct_Blub176(integer this136) { Blub_init203(this_136); } function alloc_Blub257() returns integer { local integer this528 if (Blub_firstFree_185 == 0) { if (Blub_maxIndex_174 < 32768) { Blub_maxIndex_174 = (Blub_maxIndex_174 + 1); this_528 = Blub_maxIndex_174; } else { error197("Out of memory: Could not create Blub."); this_528 = 0; }; } else { Blub_firstFree_185 = (Blub_firstFree_185 - 1); this_528 = Blub_nextFree_114[Blub_firstFree_185]; }; return this_528; } function error197(string msg810) { $debugPrint169((msg_810 + (" " + #getStackTrace()))); }