array C_nextFree161 integer C_firstFree190 integer C_maxIndex903 integer C_firstFree190 = 0 integer C_maxIndex903 = 0 function initGlobals145() { C_firstFree_190 = 0; C_maxIndex_903 = 0; } function main185() { initGlobals145(); init_test191(); } function config115() { } function init_test191() { new_C693(); } function C_init123(integer this152) { construct_C_M192(this_152); } function construct_C_M192(integer this163) { } function new_C693() returns integer { local integer this122 this_122 = alloc_C198(); construct_C128(this_122); return this_122; } function construct_C128(integer this858) { C_init123(this_858); } function alloc_C198() returns integer { local integer this131 if (C_firstFree_190 == 0) { if (C_maxIndex_903 < 32768) { C_maxIndex_903 = (C_maxIndex_903 + 1); this_131 = C_maxIndex_903; } else { error103("Out of memory: Could not create C."); this_131 = 0; }; } else { C_firstFree_190 = (C_firstFree_190 - 1); this_131 = C_nextFree_161[C_firstFree_190]; }; return this_131; } function error103(string msg372) { $debugPrint514((msg_372 + (" " + #getStackTrace()))); }