array A_nextFree771 integer A_firstFree180 integer A_maxIndex612 array A_someInt101 integer A_firstFree180 = 0 integer A_maxIndex612 = 0 function initGlobals176() { } function main178() { initGlobals176(); if (A_someInt_101[new_B190()] == 1) { testSuccess362(); } else { }; } function config881() { } IS_NATIVE function testSuccess362() { } function new_B190() returns integer { local integer this182 if (A_firstFree_180 == 0) { if (A_maxIndex_612 < 32768) { A_maxIndex_612 = (A_maxIndex_612 + 1); this_182 = A_maxIndex_612; } else { error545("Out of memory: Could not create B."); this_182 = 0; }; } else { A_firstFree_180 = (A_firstFree_180 - 1); this_182 = A_nextFree_771[A_firstFree_180]; }; A_someInt_101[this_182] = 1; return this_182; } function error545(string msg910) { $debugPrint177((msg_910 + (" " + #getStackTrace()))); }