array A_nextFree197 integer A_firstFree326 integer A_maxIndex931 array A_typeId938 integer A_firstFree326 = 0 integer A_maxIndex931 = 0 function initGlobals330() { A_firstFree_326 = 0; A_maxIndex_931 = 0; } function main145() { initGlobals330(); init_B213(); } function config415() { } IS_NATIVE function testSuccess820() { } function init_B213() { dispatch_B_B_B_show528(new_B115()); } function A_show178(integer this188) { testSuccess820(); } function A_init211(integer this788) { } function construct_A183(integer this695) { A_init211(this_695); } function B_show610(integer this175) { A_show178(this_175); } function B_init143(integer this800) { } function new_B115() returns integer { local integer this163 this_163 = alloc_B196(); construct_B100(this_163); return this_163; } function construct_B100(integer this206) { construct_A183(this_206); B_init143(this_206); } function error810(string msg430) { $debugPrint981((msg_430 + (" " + #getStackTrace()))); } function alloc_B196() returns integer { local integer this207 if (A_firstFree_326 == 0) { if (A_maxIndex_931 < 32768) { A_maxIndex_931 = (A_maxIndex_931 + 1); this_207 = A_maxIndex_931; A_typeId_938[this_207] = 2; } else { error810("Out of memory: Could not create B."); this_207 = 0; }; } else { A_firstFree_326 = (A_firstFree_326 - 1); this_207 = A_nextFree_197[A_firstFree_326]; A_typeId_938[this_207] = 2; }; return this_207; } function dispatch_B_B_B_show528(integer this191) { if (A_typeId_938[this_191] == 0) { if (this_191 == 0) { error810("Nullpointer exception when calling B.show"); } else { error810("Called B.show on invalid object."); }; } else { }; B_show610(this_191); }