array A_nextFree714 integer A_firstFree873 integer A_maxIndex195 array A_someInt123 integer A_firstFree873 = 0 integer A_maxIndex195 = 0 function initGlobals109() { A_firstFree_873 = 0; A_maxIndex_195 = 0; } function main113() { initGlobals109(); init_test189(); } function config125() { } function init_test189() { if (A_someInt_123[new_B781()] == 1) { testSuccess119(); } else { }; } IS_NATIVE function testSuccess119() { } function A_init137(integer this213) { } function construct_A108(integer this819) { A_init137(this_819); } function B_init594(integer this196) { } function new_B781() returns integer { local integer this690 this_690 = alloc_B203(); construct_B114(this_690); return this_690; } function construct_B114(integer this628) { construct_A108(this_628); B_init594(this_628); A_someInt_123[this_628] = 1; } function error755(string msg145) { $debugPrint109((msg_145 + (" " + #getStackTrace()))); } function alloc_B203() returns integer { local integer this143 if (A_firstFree_873 == 0) { if (A_maxIndex_195 < 32768) { A_maxIndex_195 = (A_maxIndex_195 + 1); this_143 = A_maxIndex_195; } else { error755("Out of memory: Could not create B."); this_143 = 0; }; } else { A_firstFree_873 = (A_firstFree_873 - 1); this_143 = A_nextFree_714[A_firstFree_873]; }; return this_143; }