array A_nextFree212 integer A_firstFree174 integer A_maxIndex194 array A_someInt188 integer A_firstFree174 = 0 integer A_maxIndex194 = 0 function initGlobals187() { } function main154() { initGlobals187(); init_test713(); } function config180() { } function init_test713() { if (A_someInt_188[new_B214()] == 1) { testSuccess147(); } else { }; } IS_NATIVE function testSuccess147() { } function A_init678(integer this148) { } function construct_A119(integer this793) { A_init678(this_793); } function B_init972(integer this347) { } function new_B214() returns integer { local integer this119 this_119 = alloc_B166(); construct_B112(this_119); return this_119; } function construct_B112(integer this179) { construct_A119(this_179); B_init972(this_179); A_someInt_188[this_179] = 1; } function error942(string msg981) { $debugPrint275((msg_981 + (" " + #getStackTrace()))); } function alloc_B166() returns integer { local integer this165 if (A_firstFree_174 == 0) { if (A_maxIndex_194 < 32768) { A_maxIndex_194 = (A_maxIndex_194 + 1); this_165 = A_maxIndex_194; } else { error942("Out of memory: Could not create B."); this_165 = 0; }; } else { A_firstFree_174 = (A_firstFree_174 - 1); this_165 = A_nextFree_212[A_firstFree_174]; }; return this_165; }