array A_nextFree147 integer A_firstFree745 integer A_maxIndex211 array A_typeId144 integer A_firstFree745 = 0 integer A_maxIndex211 = 0 function initGlobals102() { A_firstFree_745 = 0; A_maxIndex_211 = 0; } function main133() { initGlobals102(); init_test362(); } function config953() { } function init_test362() { new_B159(); } IS_NATIVE function testSuccess462() { } function A_someInt125(integer this126) { testSuccess462(); } function A_init425(integer this159) { } function construct_A160(integer this201) { A_init425(this_201); } function B_init184(integer this146) { } function new_B159() returns integer { local integer this481 this_481 = alloc_B465(); construct_B734(this_481); return this_481; } function construct_B734(integer this155) { construct_A160(this_155); B_init184(this_155); dispatch_A_test_A_someInt818(this_155); } function error194(string msg581) { $debugPrint879((msg_581 + (" " + #getStackTrace()))); } function alloc_B465() returns integer { local integer this204 if (A_firstFree_745 == 0) { if (A_maxIndex_211 < 32768) { A_maxIndex_211 = (A_maxIndex_211 + 1); this_204 = A_maxIndex_211; A_typeId_144[this_204] = 2; } else { error194("Out of memory: Could not create B."); this_204 = 0; }; } else { A_firstFree_745 = (A_firstFree_745 - 1); this_204 = A_nextFree_147[A_firstFree_745]; A_typeId_144[this_204] = 2; }; return this_204; } function dispatch_A_test_A_someInt818(integer this804) { if (A_typeId_144[this_804] == 0) { if (this_804 == 0) { error194("Nullpointer exception when calling A.someInt"); } else { error194("Called A.someInt on invalid object."); }; } else { }; A_someInt125(this_804); }