array A_nextFree118 integer A_firstFree716 integer A_maxIndex348 array A_someInt138 integer A_firstFree716 = 0 integer A_maxIndex348 = 0 function initGlobals716() { } function main154() { initGlobals716(); if (A_someInt_138[new_B139()] == 1) { testSuccess200(); } else { }; } function config625() { } IS_NATIVE function testSuccess200() { } function new_B139() returns integer { local integer this119 local integer this175 local integer this716 if (A_firstFree_716 == 0) { if (A_maxIndex_348 < 32768) { A_maxIndex_348 = (A_maxIndex_348 + 1); this_175 = A_maxIndex_348; } else { error132("Out of memory: Could not create B."); this_175 = 0; }; } else { A_firstFree_716 = (A_firstFree_716 - 1); this_175 = A_nextFree_118[A_firstFree_716]; }; this_119 = this_175; this_716 = this_119; A_someInt_138[this_716] = 1; return this_119; } function error132(string msg124) { $debugPrint929((msg_124 + (" " + #getStackTrace()))); }