array A_nextFree421 integer A_firstFree715 integer A_maxIndex203 array A_someInt812 integer A_firstFree715 = 0 integer A_maxIndex203 = 0 function initGlobals634() { } function main926() { initGlobals634(); init_test920(); } function config127() { } function init_test920() { if (A_someInt_812[new_B951()] == 1) { testSuccess421(); } else { }; } IS_NATIVE function testSuccess421() { } function A_init153(integer this168) { } function construct_A203(integer this189) { A_init153(this_189); } function B_init179(integer this442) { } function new_B951() returns integer { local integer this960 this_960 = alloc_B202(); construct_B768(this_960); return this_960; } function construct_B768(integer this168) { construct_A203(this_168); B_init179(this_168); A_someInt_812[this_168] = 1; } function error141(string msg243) { $debugPrint151((msg_243 + (" " + #getStackTrace()))); } function alloc_B202() returns integer { local integer this137 if (A_firstFree_715 == 0) { if (A_maxIndex_203 < 32768) { A_maxIndex_203 = (A_maxIndex_203 + 1); this_137 = A_maxIndex_203; } else { error141("Out of memory: Could not create B."); this_137 = 0; }; } else { A_firstFree_715 = (A_firstFree_715 - 1); this_137 = A_nextFree_421[A_firstFree_715]; }; return this_137; }