array A_nextFree148 integer A_firstFree607 integer A_maxIndex976 array A_typeId627 integer A_firstFree607 = 0 integer A_maxIndex976 = 0 function initGlobals139() { } function main162() { initGlobals139(); if (A_typeId_627[new_B507()] == 2) { testSuccess213(); } else { }; } function config550() { } IS_NATIVE function testSuccess213() { } function new_B507() returns integer { local integer this165 if (A_firstFree_607 == 0) { if (A_maxIndex_976 < 32768) { A_maxIndex_976 = (A_maxIndex_976 + 1); this_165 = A_maxIndex_976; A_typeId_627[this_165] = 2; } else { error120("Out of memory: Could not create B."); this_165 = 0; }; } else { A_firstFree_607 = (A_firstFree_607 - 1); this_165 = A_nextFree_148[A_firstFree_607]; A_typeId_627[this_165] = 2; }; return this_165; } function error120(string msg148) { $debugPrint285((msg_148 + (" " + #getStackTrace()))); }