array A_nextFree133 integer A_firstFree166 integer A_maxIndex181 array A_typeId164 integer A_firstFree166 = 0 integer A_maxIndex181 = 0 function initGlobals175() { } function main163() { initGlobals175(); init_test149(); } function config136() { } function init_test149() { local integer instanceOfTemp206 instanceOfTemp_206 = A_typeId_164[new_B2a198()]; if ((instanceOfTemp_206 >= 2) and (instanceOfTemp_206 <= 10)) { testSuccess116(); } else { }; } IS_NATIVE function testSuccess116() { } function A_init597(integer this486) { } function construct_A132(integer this173) { A_init597(this_173); } function B_init190(integer this218) { } function construct_B115(integer this147) { construct_A132(this_147); B_init190(this_147); } function B2_init243(integer this162) { } function construct_B2209(integer this595) { construct_B115(this_595); B2_init243(this_595); } function B2a_init127(integer this127) { } function new_B2a198() returns integer { local integer this187 this_187 = alloc_B2a480(); construct_B2a622(this_187); return this_187; } function construct_B2a622(integer this952) { construct_B2209(this_952); B2a_init127(this_952); } function error148(string msg211) { $debugPrint109((msg_211 + (" " + #getStackTrace()))); } function alloc_B2a480() returns integer { local integer this174 if (A_firstFree_166 == 0) { if (A_maxIndex_181 < 32768) { A_maxIndex_181 = (A_maxIndex_181 + 1); this_174 = A_maxIndex_181; A_typeId_164[this_174] = 5; } else { error148("Out of memory: Could not create B2a."); this_174 = 0; }; } else { A_firstFree_166 = (A_firstFree_166 - 1); this_174 = A_nextFree_133[A_firstFree_166]; A_typeId_164[this_174] = 5; }; return this_174; }