array I_nextFree149 integer I_firstFree412 integer I_maxIndex409 integer I_firstFree412 = 0 integer I_maxIndex409 = 0 function initGlobals744() { } function main155() { initGlobals744(); init_test820(); } function config140() { } function init_test820() { new_C195(); } function C_init189(integer this141) { } function new_C195() returns integer { local integer this561 this_561 = alloc_C904(); construct_C339(this_561); return this_561; } function construct_C339(integer this107) { C_init189(this_107); } function alloc_C904() returns integer { local integer this141 if (I_firstFree_412 == 0) { if (I_maxIndex_409 < 32768) { I_maxIndex_409 = (I_maxIndex_409 + 1); this_141 = I_maxIndex_409; } else { error959("Out of memory: Could not create C."); this_141 = 0; }; } else { I_firstFree_412 = (I_firstFree_412 - 1); this_141 = I_nextFree_149[I_firstFree_412]; }; return this_141; } function error959(string msg462) { $debugPrint834((msg_462 + (" " + #getStackTrace()))); }