array A_nextFree684 integer A_firstFree419 integer A_maxIndex194 array A_typeId176 integer A_firstFree419 = 0 integer A_maxIndex194 = 0 function initGlobals832() { } function main136() { local integer instanceOfTemp216 initGlobals832(); instanceOfTemp_216 = A_typeId_176[new_B2a278()]; if ((instanceOfTemp_216 >= 2) and (instanceOfTemp_216 <= 10)) { testSuccess829(); } else { }; } function config214() { } IS_NATIVE function testSuccess829() { } function new_B2a278() returns integer { local integer this146 if (A_firstFree_419 == 0) { if (A_maxIndex_194 < 32768) { A_maxIndex_194 = (A_maxIndex_194 + 1); this_146 = A_maxIndex_194; A_typeId_176[this_146] = 5; } else { error179("Out of memory: Could not create B2a."); this_146 = 0; }; } else { A_firstFree_419 = (A_firstFree_419 - 1); this_146 = A_nextFree_684[A_firstFree_419]; A_typeId_176[this_146] = 5; }; return this_146; } function error179(string msg461) { $debugPrint162((msg_461 + (" " + #getStackTrace()))); }