array C_nextFree475 integer C_firstFree418 integer C_maxIndex993 array C_x338 integer A_firstFree534 = 0 integer A_maxIndex173 = 0 integer C_firstFree418 = 0 integer C_maxIndex993 = 0 function initGlobals983() { C_firstFree_418 = 0; C_maxIndex_993 = 0; } function main199() { initGlobals983(); init_Test122(); } function config944() { } function init_Test122() { local integer c157 c_157 = null; C_x_338[C_x_338[C_x_338[c_157]]] = new_C135(); } function C_init851(integer this636) { } function new_C135() returns integer { local integer this177 this_177 = alloc_C633(); construct_C345(this_177); return this_177; } function construct_C345(integer this211) { C_init851(this_211); } function error318(string msg134) { $debugPrint372((msg_134 + (" " + #getStackTrace()))); } function alloc_C633() returns integer { local integer this114 if (C_firstFree_418 == 0) { if (C_maxIndex_993 < 32768) { C_maxIndex_993 = (C_maxIndex_993 + 1); this_114 = C_maxIndex_993; } else { error318("Out of memory: Could not create C."); this_114 = 0; }; } else { C_firstFree_418 = (C_firstFree_418 - 1); this_114 = C_nextFree_475[C_firstFree_418]; }; return this_114; }