array I_nextFree176 integer I_firstFree677 integer I_maxIndex672 integer I_firstFree677 = 0 integer I_maxIndex672 = 0 function initGlobals182() { } function main453() { local integer a172 local integer b152 local integer c116 initGlobals182(); a_172 = new_C190(); b_152 = (a_172 castTo integer); c_116 = (b_152 castTo integer); if (c_116 == a_172) { testSuccess745(); } else { }; } function config123() { } IS_NATIVE function testSuccess745() { } function new_C190() returns integer { local integer this749 local integer this117 if (I_firstFree_677 == 0) { if (I_maxIndex_672 < 32768) { I_maxIndex_672 = (I_maxIndex_672 + 1); this_117 = I_maxIndex_672; } else { error363("Out of memory: Could not create C."); this_117 = 0; }; } else { I_firstFree_677 = (I_firstFree_677 - 1); this_117 = I_nextFree_176[I_firstFree_677]; }; this_749 = this_117; return this_749; } function error363(string msg449) { $debugPrint533((msg_449 + (" " + #getStackTrace()))); }