array A_nextFree197 integer A_firstFree144 integer A_maxIndex735 array A_typeId158 integer A_firstFree144 = 0 integer A_maxIndex735 = 0 function initGlobals128() { A_firstFree_144 = 0; A_maxIndex_735 = 0; } function main892() { initGlobals128(); init_test198(); } function config118() { } function init_test198() { local integer a112 local integer instanceOfTemp143 a_112 = new_C124(); instanceOfTemp_143 = A_typeId_158[a_112]; if ((instanceOfTemp_143 >= 2) and (instanceOfTemp_143 <= 3)) { testSuccess936(); } else { }; } IS_NATIVE function testSuccess936() { } function A_init200(integer this107) { } function construct_A112(integer this190) { A_init200(this_190); } function B_init940(integer this195) { } function construct_B151(integer this101) { construct_A112(this_101); B_init940(this_101); } function C_init163(integer this958) { } function new_C124() returns integer { local integer this576 this_576 = alloc_C158(); construct_C869(this_576); return this_576; } function construct_C869(integer this341) { construct_B151(this_341); C_init163(this_341); } function error567(string msg124) { $debugPrint406((msg_124 + (" " + #getStackTrace()))); } function alloc_C158() returns integer { local integer this204 if (A_firstFree_144 == 0) { if (A_maxIndex_735 < 32768) { A_maxIndex_735 = (A_maxIndex_735 + 1); this_204 = A_maxIndex_735; A_typeId_158[this_204] = 3; } else { error567("Out of memory: Could not create C."); this_204 = 0; }; } else { A_firstFree_144 = (A_firstFree_144 - 1); this_204 = A_nextFree_197[A_firstFree_144]; A_typeId_158[this_204] = 3; }; return this_204; }