array A_nextFree179 integer A_firstFree303 integer A_maxIndex184 array A_someInt576 integer A_firstFree303 = 0 integer A_maxIndex184 = 0 function initGlobals802() { A_firstFree_303 = 0; A_maxIndex_184 = 0; } function main710() { initGlobals802(); init_test191(); } function config942() { } function init_test191() { if (A_someInt_576[new_B108()] == 1) { testSuccess166(); } else { }; } IS_NATIVE function testSuccess166() { } function A_init107(integer this116) { } function construct_A105(integer this979) { A_init107(this_979); } function B_init160(integer this155) { } function new_B108() returns integer { local integer this797 this_797 = alloc_B258(); construct_B185(this_797); return this_797; } function construct_B185(integer this482) { construct_A105(this_482); B_init160(this_482); A_someInt_576[this_482] = 1; } function error129(string msg994) { $debugPrint475((msg_994 + (" " + #getStackTrace()))); } function alloc_B258() returns integer { local integer this775 if (A_firstFree_303 == 0) { if (A_maxIndex_184 < 32768) { A_maxIndex_184 = (A_maxIndex_184 + 1); this_775 = A_maxIndex_184; } else { error129("Out of memory: Could not create B."); this_775 = 0; }; } else { A_firstFree_303 = (A_firstFree_303 - 1); this_775 = A_nextFree_179[A_firstFree_303]; }; return this_775; }