array I_nextFree201 integer I_firstFree650 integer I_maxIndex688 integer I_firstFree650 = 0 integer I_maxIndex688 = 0 function initGlobals156() { } function main101() { initGlobals156(); init_test186(); } function config667() { } function init_test186() { local integer a156 local integer b167 local integer c159 a_156 = new_B894(); b_167 = new_B894(); c_159 = new_C322(); if ((a_156 != b_167) and (a_156 != c_159)) { testSuccess176(); } else { }; } IS_NATIVE function testSuccess176() { } function B_init146(integer this118) { } function new_B894() returns integer { local integer this792 this_792 = alloc_B170(); construct_B888(this_792); return this_792; } function construct_B888(integer this708) { B_init146(this_708); } function C_init176(integer this143) { } function new_C322() returns integer { local integer this182 this_182 = alloc_C124(); construct_C135(this_182); return this_182; } function construct_C135(integer this520) { C_init176(this_520); } function alloc_B170() returns integer { local integer this212 if (I_firstFree_650 == 0) { if (I_maxIndex_688 < 32768) { I_maxIndex_688 = (I_maxIndex_688 + 1); this_212 = I_maxIndex_688; } else { error183("Out of memory: Could not create B."); this_212 = 0; }; } else { I_firstFree_650 = (I_firstFree_650 - 1); this_212 = I_nextFree_201[I_firstFree_650]; }; return this_212; } function error183(string msg121) { $debugPrint448((msg_121 + (" " + #getStackTrace()))); } function alloc_C124() returns integer { local integer this121 if (I_firstFree_650 == 0) { if (I_maxIndex_688 < 32768) { I_maxIndex_688 = (I_maxIndex_688 + 1); this_121 = I_maxIndex_688; } else { error183("Out of memory: Could not create C."); this_121 = 0; }; } else { I_firstFree_650 = (I_firstFree_650 - 1); this_121 = I_nextFree_201[I_firstFree_650]; }; return this_121; }