array I_nextFree208 integer I_firstFree447 integer I_maxIndex185 integer I_firstFree447 = 0 integer I_maxIndex185 = 0 function initGlobals573() { } function main743() { initGlobals573(); init_test143(); } function config173() { } function init_test143() { local integer a701 a_701 = new_C176(); if (((a_701 castTo integer) castTo integer) == a_701) { testSuccess841(); } else { }; } IS_NATIVE function testSuccess841() { } function C_init183(integer this157) { } function new_C176() returns integer { local integer this601 this_601 = alloc_C193(); construct_C394(this_601); return this_601; } function construct_C394(integer this293) { C_init183(this_293); } function error211(string msg200) { $debugPrint176((msg_200 + (" " + #getStackTrace()))); } function alloc_C193() returns integer { local integer this806 if (I_firstFree_447 == 0) { if (I_maxIndex_185 < 32768) { I_maxIndex_185 = (I_maxIndex_185 + 1); this_806 = I_maxIndex_185; } else { error211("Out of memory: Could not create C."); this_806 = 0; }; } else { I_firstFree_447 = (I_firstFree_447 - 1); this_806 = I_nextFree_208[I_firstFree_447]; }; return this_806; }