array A_nextFree151 integer A_firstFree309 integer A_maxIndex103 array A_someInt171 integer A_firstFree309 = 0 integer A_maxIndex103 = 0 function initGlobals108() { } function main149() { initGlobals108(); init_test743(); } function config103() { } function init_test743() { if (A_someInt_171[new_B103()] == 1) { testSuccess175(); } else { }; } IS_NATIVE function testSuccess175() { } function A_init541(integer this467) { } function construct_A389(integer this164) { A_init541(this_164); } function B_init184(integer this135) { } function new_B103() returns integer { local integer this189 this_189 = alloc_B525(); construct_B720(this_189); return this_189; } function construct_B720(integer this260) { construct_A389(this_260); B_init184(this_260); A_someInt_171[this_260] = 1; } function error111(string msg133) { $debugPrint188((msg_133 + (" " + #getStackTrace()))); } function alloc_B525() returns integer { local integer this534 if (A_firstFree_309 == 0) { if (A_maxIndex_103 < 32768) { A_maxIndex_103 = (A_maxIndex_103 + 1); this_534 = A_maxIndex_103; } else { error111("Out of memory: Could not create B."); this_534 = 0; }; } else { A_firstFree_309 = (A_firstFree_309 - 1); this_534 = A_nextFree_151[A_firstFree_309]; }; return this_534; }