array A_nextFree214 integer A_firstFree187 integer A_maxIndex713 array A_someInt119 integer A_firstFree187 = 0 integer A_maxIndex713 = 0 function initGlobals722() { } function main244() { initGlobals722(); if (A_someInt_119[new_B339()] == 1) { testSuccess430(); } else { }; } function config480() { } IS_NATIVE function testSuccess430() { } function new_B339() returns integer { local integer this119 if (A_firstFree_187 == 0) { if (A_maxIndex_713 < 32768) { A_maxIndex_713 = (A_maxIndex_713 + 1); this_119 = A_maxIndex_713; } else { error148("Out of memory: Could not create B."); this_119 = 0; }; } else { A_firstFree_187 = (A_firstFree_187 - 1); this_119 = A_nextFree_214[A_firstFree_187]; }; A_someInt_119[this_119] = 1; return this_119; } function error148(string msg361) { $debugPrint191((msg_361 + (" " + #getStackTrace()))); }