array I_nextFree133 integer I_firstFree117 integer I_maxIndex209 integer I_firstFree117 = 0 integer I_maxIndex209 = 0 function initGlobals186() { I_firstFree_117 = 0; I_maxIndex_209 = 0; } function main647() { initGlobals186(); init_test209(); } function config134() { } function init_test209() { new_C185(); } function C_init764(integer this185) { } function new_C185() returns integer { local integer this543 this_543 = alloc_C144(); construct_C151(this_543); return this_543; } function construct_C151(integer this652) { C_init764(this_652); } function alloc_C144() returns integer { local integer this568 if (I_firstFree_117 == 0) { if (I_maxIndex_209 < 32768) { I_maxIndex_209 = (I_maxIndex_209 + 1); this_568 = I_maxIndex_209; } else { error862("Out of memory: Could not create C."); this_568 = 0; }; } else { I_firstFree_117 = (I_firstFree_117 - 1); this_568 = I_nextFree_133[I_firstFree_117]; }; return this_568; } function error862(string msg116) { $debugPrint520((msg_116 + (" " + #getStackTrace()))); }