array I_nextFree200 integer I_firstFree202 integer I_maxIndex979 integer I_firstFree202 = 0 integer I_maxIndex979 = 0 function initGlobals402() { } function main285() { local integer a145 initGlobals402(); a_145 = new_C162(); if (((a_145 castTo integer) castTo integer) == a_145) { testSuccess134(); } else { }; } function config176() { } IS_NATIVE function testSuccess134() { } function new_C162() returns integer { local integer this209 if (I_firstFree_202 == 0) { if (I_maxIndex_979 < 32768) { I_maxIndex_979 = (I_maxIndex_979 + 1); this_209 = I_maxIndex_979; } else { error759("Out of memory: Could not create C."); this_209 = 0; }; } else { I_firstFree_202 = (I_firstFree_202 - 1); this_209 = I_nextFree_200[I_firstFree_202]; }; return this_209; } function error759(string msg494) { $debugPrint772((msg_494 + (" " + #getStackTrace()))); }