array A_nextFree118 integer A_firstFree123 integer A_maxIndex197 array A_someInt890 integer A_firstFree123 = 0 integer A_maxIndex197 = 0 function initGlobals294() { } function main205() { initGlobals294(); if (A_someInt_890[new_B113()] == 1) { testSuccess116(); } else { }; } function config200() { } IS_NATIVE function testSuccess116() { } function new_B113() returns integer { local integer this356 local integer this140 local integer this241 if (A_firstFree_123 == 0) { if (A_maxIndex_197 < 32768) { A_maxIndex_197 = (A_maxIndex_197 + 1); this_140 = A_maxIndex_197; } else { error100("Out of memory: Could not create B."); this_140 = 0; }; } else { A_firstFree_123 = (A_firstFree_123 - 1); this_140 = A_nextFree_118[A_firstFree_123]; }; this_356 = this_140; this_241 = this_356; A_someInt_890[this_241] = 1; return this_356; } function error100(string msg154) { $debugPrint189((msg_154 + (" " + #getStackTrace()))); }