array C_nextFree136 integer C_firstFree104 integer C_maxIndex113 integer C_firstFree104 = 0 integer C_maxIndex113 = 0 function initGlobals182() { C_firstFree_104 = 0; C_maxIndex_113 = 0; } function main182() { initGlobals182(); init_test764(); } function config132() { } function init_test764() { new_C204(); } function C_init254(integer this166) { construct_C_M199(this_166); } function construct_C_M199(integer this113) { } function new_C204() returns integer { local integer this718 this_718 = alloc_C523(); construct_C117(this_718); return this_718; } function construct_C117(integer this240) { C_init254(this_240); } function alloc_C523() returns integer { local integer this578 if (C_firstFree_104 == 0) { if (C_maxIndex_113 < 32768) { C_maxIndex_113 = (C_maxIndex_113 + 1); this_578 = C_maxIndex_113; } else { error571("Out of memory: Could not create C."); this_578 = 0; }; } else { C_firstFree_104 = (C_firstFree_104 - 1); this_578 = C_nextFree_136[C_firstFree_104]; }; return this_578; } function error571(string msg203) { $debugPrint945((msg_203 + (" " + #getStackTrace()))); }