array A_nextFree166 integer A_firstFree160 integer A_maxIndex199 array A_typeId183 integer A_firstFree160 = 0 integer A_maxIndex199 = 0 function initGlobals126() { } function main170() { initGlobals126(); init_test131(); } function config698() { } function init_test131() { local integer instanceOfTemp598 instanceOfTemp_598 = A_typeId_183[new_B2a154()]; if ((instanceOfTemp_598 >= 2) and (instanceOfTemp_598 <= 10)) { testSuccess339(); } else { }; } IS_NATIVE function testSuccess339() { } function A_init677(integer this302) { } function construct_A126(integer this133) { A_init677(this_133); } function B_init210(integer this317) { } function construct_B174(integer this158) { construct_A126(this_158); B_init210(this_158); } function B2_init755(integer this193) { } function construct_B2184(integer this770) { construct_B174(this_770); B2_init755(this_770); } function B2a_init101(integer this869) { } function new_B2a154() returns integer { local integer this209 this_209 = alloc_B2a276(); construct_B2a201(this_209); return this_209; } function construct_B2a201(integer this204) { construct_B2184(this_204); B2a_init101(this_204); } function error140(string msg658) { $debugPrint197((msg_658 + (" " + #getStackTrace()))); } function alloc_B2a276() returns integer { local integer this116 if (A_firstFree_160 == 0) { if (A_maxIndex_199 < 32768) { A_maxIndex_199 = (A_maxIndex_199 + 1); this_116 = A_maxIndex_199; A_typeId_183[this_116] = 5; } else { error140("Out of memory: Could not create B2a."); this_116 = 0; }; } else { A_firstFree_160 = (A_firstFree_160 - 1); this_116 = A_nextFree_166[A_firstFree_160]; A_typeId_183[this_116] = 5; }; return this_116; }