array A_nextFree237 integer A_firstFree793 integer A_maxIndex989 array A_typeId148 integer A_firstFree793 = 0 integer A_maxIndex989 = 0 function initGlobals185() { A_firstFree_793 = 0; A_maxIndex_989 = 0; } function main367() { initGlobals185(); init_test181(); } function config766() { } function init_test181() { local integer a125 local integer instanceOfTemp528 a_125 = new_B2a153(); instanceOfTemp_528 = A_typeId_148[a_125]; if ((instanceOfTemp_528 >= 2) and (instanceOfTemp_528 <= 10)) { testSuccess320(); } else { }; } IS_NATIVE function testSuccess320() { } function A_init418(integer this155) { } function construct_A110(integer this100) { A_init418(this_100); } function B_init154(integer this107) { } function construct_B203(integer this197) { construct_A110(this_197); B_init154(this_197); } function B2_init141(integer this601) { } function construct_B2104(integer this207) { construct_B203(this_207); B2_init141(this_207); } function B2a_init372(integer this188) { } function new_B2a153() returns integer { local integer this103 this_103 = alloc_B2a100(); construct_B2a162(this_103); return this_103; } function construct_B2a162(integer this779) { construct_B2104(this_779); B2a_init372(this_779); } function error128(string msg162) { $debugPrint194((msg_162 + (" " + #getStackTrace()))); } function alloc_B2a100() returns integer { local integer this684 if (A_firstFree_793 == 0) { if (A_maxIndex_989 < 32768) { A_maxIndex_989 = (A_maxIndex_989 + 1); this_684 = A_maxIndex_989; A_typeId_148[this_684] = 5; } else { error128("Out of memory: Could not create B2a."); this_684 = 0; }; } else { A_firstFree_793 = (A_firstFree_793 - 1); this_684 = A_nextFree_237[A_firstFree_793]; A_typeId_148[this_684] = 5; }; return this_684; }