array I_nextFree128 integer I_firstFree139 integer I_maxIndex322 integer I_firstFree139 = 0 integer I_maxIndex322 = 0 function initGlobals249() { I_firstFree_139 = 0; I_maxIndex_322 = 0; } function main939() { initGlobals249(); init_test470(); } function config743() { } function init_test470() { new_C169(); } function C_init148(integer this182) { } function new_C169() returns integer { local integer this483 this_483 = alloc_C107(); construct_C181(this_483); return this_483; } function construct_C181(integer this137) { C_init148(this_137); } function alloc_C107() returns integer { local integer this178 if (I_firstFree_139 == 0) { if (I_maxIndex_322 < 32768) { I_maxIndex_322 = (I_maxIndex_322 + 1); this_178 = I_maxIndex_322; } else { error110("Out of memory: Could not create C."); this_178 = 0; }; } else { I_firstFree_139 = (I_firstFree_139 - 1); this_178 = I_nextFree_128[I_firstFree_139]; }; return this_178; } function error110(string msg333) { $debugPrint174((msg_333 + (" " + #getStackTrace()))); }