array A_nextFree143 integer A_firstFree147 integer A_maxIndex192 array A_someInt520 integer A_firstFree147 = 0 integer A_maxIndex192 = 0 function initGlobals192() { } function main169() { initGlobals192(); if (A_someInt_520[new_B141()] == 1) { testSuccess195(); } else { }; } function config114() { } IS_NATIVE function testSuccess195() { } function new_B141() returns integer { local integer this917 if (A_firstFree_147 == 0) { if (A_maxIndex_192 < 32768) { A_maxIndex_192 = (A_maxIndex_192 + 1); this_917 = A_maxIndex_192; } else { error120("Out of memory: Could not create B."); this_917 = 0; }; } else { A_firstFree_147 = (A_firstFree_147 - 1); this_917 = A_nextFree_143[A_firstFree_147]; }; A_someInt_520[this_917] = 1; return this_917; } function error120(string msg216) { $debugPrint157((msg_216 + (" " + #getStackTrace()))); }