array A_nextFree133 integer A_firstFree612 integer A_maxIndex136 array A_typeId151 integer A_firstFree612 = 0 integer A_maxIndex136 = 0 function initGlobals242() { } function main957() { local integer a205 local integer instanceOfTemp371 initGlobals242(); a_205 = new_B2a184(); instanceOfTemp_371 = A_typeId_151[a_205]; if ((instanceOfTemp_371 >= 2) and (instanceOfTemp_371 <= 10)) { testSuccess172(); } else { }; } function config133() { } IS_NATIVE function testSuccess172() { } function new_B2a184() returns integer { local integer this102 local integer this149 local integer this174 local integer this112 if (A_firstFree_612 == 0) { if (A_maxIndex_136 < 32768) { A_maxIndex_136 = (A_maxIndex_136 + 1); this_149 = A_maxIndex_136; A_typeId_151[this_149] = 5; } else { error124("Out of memory: Could not create B2a."); this_149 = 0; }; } else { A_firstFree_612 = (A_firstFree_612 - 1); this_149 = A_nextFree_133[A_firstFree_612]; A_typeId_151[this_149] = 5; }; this_102 = this_149; this_174 = this_102; this_112 = this_174; return this_102; } function error124(string msg183) { $debugPrint295((msg_183 + (" " + #getStackTrace()))); }