array I_nextFree666 integer I_firstFree179 integer I_maxIndex247 integer I_firstFree179 = 0 integer I_maxIndex247 = 0 function initGlobals151() { I_firstFree_179 = 0; I_maxIndex_247 = 0; } function main123() { initGlobals151(); init_test170(); } function config121() { } function init_test170() { new_C143(); } function C_init449(integer this109) { } function new_C143() returns integer { local integer this975 this_975 = alloc_C593(); construct_C192(this_975); return this_975; } function construct_C192(integer this481) { C_init449(this_481); } function alloc_C593() returns integer { local integer this189 if (I_firstFree_179 == 0) { if (I_maxIndex_247 < 32768) { I_maxIndex_247 = (I_maxIndex_247 + 1); this_189 = I_maxIndex_247; } else { error172("Out of memory: Could not create C."); this_189 = 0; }; } else { I_firstFree_179 = (I_firstFree_179 - 1); this_189 = I_nextFree_666[I_firstFree_179]; }; return this_189; } function error172(string msg702) { $debugPrint103((msg_702 + (" " + #getStackTrace()))); }