array A_nextFree894 integer A_firstFree149 integer A_maxIndex147 array A_someInt511 integer A_firstFree149 = 0 integer A_maxIndex147 = 0 function initGlobals995() { } function main191() { initGlobals995(); if (A_someInt_511[new_B573()] == 1) { testSuccess940(); } else { }; } function config613() { } IS_NATIVE function testSuccess940() { } function new_B573() returns integer { local integer this157 local integer this174 local integer this225 if (A_firstFree_149 == 0) { if (A_maxIndex_147 < 32768) { A_maxIndex_147 = (A_maxIndex_147 + 1); this_174 = A_maxIndex_147; } else { error158("Out of memory: Could not create B."); this_174 = 0; }; } else { A_firstFree_149 = (A_firstFree_149 - 1); this_174 = A_nextFree_894[A_firstFree_149]; }; this_157 = this_174; this_225 = this_157; A_someInt_511[this_225] = 1; return this_157; } function error158(string msg650) { $debugPrint514((msg_650 + (" " + #getStackTrace()))); }