array C_nextFree469 integer C_firstFree205 integer C_maxIndex942 integer C_firstFree205 = 0 integer C_maxIndex942 = 0 function initGlobals177() { } function main138() { local integer a105 local integer b962 local any a184 initGlobals177(); a_105 = new_C457(); a_184 = a_105; b_962 = a_184; if (a_105 == b_962) { testSuccess761(); } else { }; } function config146() { } IS_NATIVE function testSuccess761() { } function new_C457() returns integer { local integer this664 local integer this197 if (C_firstFree_205 == 0) { if (C_maxIndex_942 < 32768) { C_maxIndex_942 = (C_maxIndex_942 + 1); this_197 = C_maxIndex_942; } else { error138("Out of memory: Could not create C."); this_197 = 0; }; } else { C_firstFree_205 = (C_firstFree_205 - 1); this_197 = C_nextFree_469[C_firstFree_205]; }; this_664 = this_197; return this_664; } function error138(string msg113) { $debugPrint131((msg_113 + (" " + #getStackTrace()))); }