array I_nextFree157 integer I_firstFree712 integer I_maxIndex626 integer I_firstFree712 = 0 integer I_maxIndex626 = 0 function initGlobals755() { I_firstFree_712 = 0; I_maxIndex_626 = 0; } function main236() { initGlobals755(); init_test121(); } function config184() { } function init_test121() { local integer a146 local integer b386 local integer c179 a_146 = new_B599(); b_386 = new_B599(); c_179 = new_C148(); if ((a_146 != b_386) and (a_146 != c_179)) { testSuccess124(); } else { }; } IS_NATIVE function testSuccess124() { } function B_init791(integer this126) { } function new_B599() returns integer { local integer this138 this_138 = alloc_B267(); construct_B107(this_138); return this_138; } function construct_B107(integer this115) { B_init791(this_115); } function C_init181(integer this465) { } function new_C148() returns integer { local integer this175 this_175 = alloc_C148(); construct_C206(this_175); return this_175; } function construct_C206(integer this607) { C_init181(this_607); } function alloc_B267() returns integer { local integer this173 if (I_firstFree_712 == 0) { if (I_maxIndex_626 < 32768) { I_maxIndex_626 = (I_maxIndex_626 + 1); this_173 = I_maxIndex_626; } else { error478("Out of memory: Could not create B."); this_173 = 0; }; } else { I_firstFree_712 = (I_firstFree_712 - 1); this_173 = I_nextFree_157[I_firstFree_712]; }; return this_173; } function error478(string msg431) { $debugPrint180((msg_431 + (" " + #getStackTrace()))); } function alloc_C148() returns integer { local integer this574 if (I_firstFree_712 == 0) { if (I_maxIndex_626 < 32768) { I_maxIndex_626 = (I_maxIndex_626 + 1); this_574 = I_maxIndex_626; } else { error478("Out of memory: Could not create C."); this_574 = 0; }; } else { I_firstFree_712 = (I_firstFree_712 - 1); this_574 = I_nextFree_157[I_firstFree_712]; }; return this_574; }