array C_nextFree469 integer C_firstFree150 integer C_maxIndex160 array D_nextFree155 integer D_firstFree946 integer D_maxIndex912 integer C_firstFree150 = 0 integer C_maxIndex160 = 0 integer D_firstFree946 = 0 integer D_maxIndex912 = 0 function initGlobals731() { C_firstFree_150 = 0; C_maxIndex_160 = 0; D_firstFree_946 = 0; D_maxIndex_912 = 0; } function main978() { initGlobals731(); init_test191(); } function config724() { } function init_test191() { new_C124(); new_D190(); } function C_init115(integer this585) { construct_C_M159(this_585); } function construct_C_M159(integer this146) { } function new_C124() returns integer { local integer this185 this_185 = alloc_C151(); construct_C198(this_185); return this_185; } function construct_C198(integer this119) { C_init115(this_119); } function D_init144(integer this374) { } function new_D190() returns integer { local integer this180 this_180 = alloc_D167(); construct_D162(this_180); return this_180; } function construct_D162(integer this107) { D_init144(this_107); } function alloc_C151() returns integer { local integer this127 if (C_firstFree_150 == 0) { if (C_maxIndex_160 < 32768) { C_maxIndex_160 = (C_maxIndex_160 + 1); this_127 = C_maxIndex_160; } else { error124("Out of memory: Could not create C."); this_127 = 0; }; } else { C_firstFree_150 = (C_firstFree_150 - 1); this_127 = C_nextFree_469[C_firstFree_150]; }; return this_127; } function error124(string msg157) { $debugPrint312((msg_157 + (" " + #getStackTrace()))); } function alloc_D167() returns integer { local integer this206 if (D_firstFree_946 == 0) { if (D_maxIndex_912 < 32768) { D_maxIndex_912 = (D_maxIndex_912 + 1); this_206 = D_maxIndex_912; } else { error124("Out of memory: Could not create D."); this_206 = 0; }; } else { D_firstFree_946 = (D_firstFree_946 - 1); this_206 = D_nextFree_155[D_firstFree_946]; }; return this_206; }