array C_nextFree132 integer C_firstFree150 integer C_maxIndex129 integer C_firstFree150 = 0 integer C_maxIndex129 = 0 function initGlobals516() { } function main105() { local integer a115 local integer b158 local any a749 initGlobals516(); a_115 = new_C541(); a_749 = a_115; b_158 = a_749; if (a_115 == b_158) { testSuccess962(); } else { }; } function config186() { } IS_NATIVE function testSuccess962() { } function new_C541() returns integer { local integer this865 local integer this157 if (C_firstFree_150 == 0) { if (C_maxIndex_129 < 32768) { C_maxIndex_129 = (C_maxIndex_129 + 1); this_157 = C_maxIndex_129; } else { error405("Out of memory: Could not create C."); this_157 = 0; }; } else { C_firstFree_150 = (C_firstFree_150 - 1); this_157 = C_nextFree_132[C_firstFree_150]; }; this_865 = this_157; return this_865; } function error405(string msg590) { $debugPrint101((msg_590 + (" " + #getStackTrace()))); }