array C_nextFree173 integer C_firstFree364 integer C_maxIndex213 array C_x110 integer A_firstFree979 = 0 integer A_maxIndex245 = 0 integer C_firstFree364 = 0 integer C_maxIndex213 = 0 function initGlobals210() { C_firstFree_364 = 0; C_maxIndex_213 = 0; } function main166() { initGlobals210(); init_Test650(); } function config162() { } function init_Test650() { local integer c115 c_115 = null; C_x_110[C_x_110[C_x_110[c_115]]] = new_C152(); } function C_init111(integer this155) { } function new_C152() returns integer { local integer this865 this_865 = alloc_C131(); construct_C614(this_865); return this_865; } function construct_C614(integer this119) { C_init111(this_119); } function error730(string msg141) { $debugPrint699((msg_141 + (" " + #getStackTrace()))); } function alloc_C131() returns integer { local integer this136 if (C_firstFree_364 == 0) { if (C_maxIndex_213 < 32768) { C_maxIndex_213 = (C_maxIndex_213 + 1); this_136 = C_maxIndex_213; } else { error730("Out of memory: Could not create C."); this_136 = 0; }; } else { C_firstFree_364 = (C_firstFree_364 - 1); this_136 = C_nextFree_173[C_firstFree_364]; }; return this_136; }