array I_nextFree263 integer I_firstFree187 integer I_maxIndex122 integer I_firstFree187 = 0 integer I_maxIndex122 = 0 function initGlobals536() { I_firstFree_187 = 0; I_maxIndex_122 = 0; } function main881() { initGlobals536(); init_test154(); } function config128() { } function init_test154() { local integer a779 local integer b571 local integer c928 a_779 = new_C210(); b_571 = (a_779 castTo integer); c_928 = (b_571 castTo integer); if (c_928 == a_779) { testSuccess294(); } else { }; } IS_NATIVE function testSuccess294() { } function C_init942(integer this180) { } function new_C210() returns integer { local integer this364 this_364 = alloc_C358(); construct_C128(this_364); return this_364; } function construct_C128(integer this612) { C_init942(this_612); } function error509(string msg440) { $debugPrint175((msg_440 + (" " + #getStackTrace()))); } function alloc_C358() returns integer { local integer this130 if (I_firstFree_187 == 0) { if (I_maxIndex_122 < 32768) { I_maxIndex_122 = (I_maxIndex_122 + 1); this_130 = I_maxIndex_122; } else { error509("Out of memory: Could not create C."); this_130 = 0; }; } else { I_firstFree_187 = (I_firstFree_187 - 1); this_130 = I_nextFree_263[I_firstFree_187]; }; return this_130; }