array Blub_nextFree119 integer Blub_firstFree178 integer Blub_maxIndex252 integer Blub_firstFree178 = 0 integer Blub_maxIndex252 = 0 function initGlobals214() { Blub_firstFree_178 = 0; Blub_maxIndex_252 = 0; } function main199() { initGlobals214(); init_Test691(); } function config213() { } function init_Test691() { bla300(new_Blub849()); } function bla300(integer t153) { } function Blub_init160(integer this904) { } function new_Blub849() returns integer { local integer this158 this_158 = alloc_Blub159(); construct_Blub749(this_158); return this_158; } function construct_Blub749(integer this149) { Blub_init160(this_149); } function alloc_Blub159() returns integer { local integer this156 if (Blub_firstFree_178 == 0) { if (Blub_maxIndex_252 < 32768) { Blub_maxIndex_252 = (Blub_maxIndex_252 + 1); this_156 = Blub_maxIndex_252; } else { error999("Out of memory: Could not create Blub."); this_156 = 0; }; } else { Blub_firstFree_178 = (Blub_firstFree_178 - 1); this_156 = Blub_nextFree_119[Blub_firstFree_178]; }; return this_156; } function error999(string msg156) { $debugPrint856((msg_156 + (" " + #getStackTrace()))); }