array A_nextFree109 integer A_firstFree109 integer A_maxIndex208 array A_someInt848 integer A_firstFree109 = 0 integer A_maxIndex208 = 0 function initGlobals192() { } function main126() { initGlobals192(); if (A_someInt_848[new_B912()] == 1) { testSuccess520(); } else { }; } function config428() { } IS_NATIVE function testSuccess520() { } function new_B912() returns integer { local integer this147 local integer this160 local integer this178 if (A_firstFree_109 == 0) { if (A_maxIndex_208 < 32768) { A_maxIndex_208 = (A_maxIndex_208 + 1); this_160 = A_maxIndex_208; } else { error191("Out of memory: Could not create B."); this_160 = 0; }; } else { A_firstFree_109 = (A_firstFree_109 - 1); this_160 = A_nextFree_109[A_firstFree_109]; }; this_147 = this_160; this_178 = this_147; A_someInt_848[this_178] = 1; return this_147; } function error191(string msg584) { $debugPrint143((msg_584 + (" " + #getStackTrace()))); }