array A_nextFree103 integer A_firstFree163 integer A_maxIndex166 array A_someInt763 integer A_firstFree163 = 0 integer A_maxIndex166 = 0 function initGlobals114() { } function main180() { initGlobals114(); if (A_someInt_763[new_B203()] == 1) { testSuccess200(); } else { }; } function config188() { } IS_NATIVE function testSuccess200() { } function new_B203() returns integer { local integer this101 local integer this174 local integer this813 if (A_firstFree_163 == 0) { if (A_maxIndex_166 < 32768) { A_maxIndex_166 = (A_maxIndex_166 + 1); this_174 = A_maxIndex_166; } else { error119("Out of memory: Could not create B."); this_174 = 0; }; } else { A_firstFree_163 = (A_firstFree_163 - 1); this_174 = A_nextFree_103[A_firstFree_163]; }; this_101 = this_174; this_813 = this_101; A_someInt_763[this_813] = 1; return this_101; } function error119(string msg273) { $debugPrint314((msg_273 + (" " + #getStackTrace()))); }