array I_nextFree397 integer I_firstFree135 integer I_maxIndex419 integer I_firstFree135 = 0 integer I_maxIndex419 = 0 function initGlobals186() { } function main170() { local integer a384 local integer b167 local integer c125 initGlobals186(); a_384 = new_C274(); b_167 = (a_384 castTo integer); c_125 = (b_167 castTo integer); if (c_125 == a_384) { testSuccess509(); } else { }; } function config193() { } IS_NATIVE function testSuccess509() { } function new_C274() returns integer { local integer this172 local integer this872 if (I_firstFree_135 == 0) { if (I_maxIndex_419 < 32768) { I_maxIndex_419 = (I_maxIndex_419 + 1); this_872 = I_maxIndex_419; } else { error985("Out of memory: Could not create C."); this_872 = 0; }; } else { I_firstFree_135 = (I_firstFree_135 - 1); this_872 = I_nextFree_397[I_firstFree_135]; }; this_172 = this_872; return this_172; } function error985(string msg199) { $debugPrint185((msg_199 + (" " + #getStackTrace()))); }