array A_nextFree553 integer A_firstFree325 integer A_maxIndex794 array A_typeId979 integer A_firstFree325 = 0 integer A_maxIndex794 = 0 function initGlobals119() { A_firstFree_325 = 0; A_maxIndex_794 = 0; } function main128() { initGlobals119(); init_B132(); } function config728() { } IS_NATIVE function testSuccess155() { } function init_B132() { dispatch_B_B_B_show209(new_B300()); } function A_show465(integer this188) { testSuccess155(); } function A_init134(integer this978) { } function construct_A613(integer this406) { A_init134(this_406); } function B_show145(integer this139) { A_show465(this_139); } function B_init160(integer this208) { } function new_B300() returns integer { local integer this165 this_165 = alloc_B535(); construct_B202(this_165); return this_165; } function construct_B202(integer this137) { construct_A613(this_137); B_init160(this_137); } function error134(string msg204) { $debugPrint640((msg_204 + (" " + #getStackTrace()))); } function alloc_B535() returns integer { local integer this183 if (A_firstFree_325 == 0) { if (A_maxIndex_794 < 32768) { A_maxIndex_794 = (A_maxIndex_794 + 1); this_183 = A_maxIndex_794; A_typeId_979[this_183] = 2; } else { error134("Out of memory: Could not create B."); this_183 = 0; }; } else { A_firstFree_325 = (A_firstFree_325 - 1); this_183 = A_nextFree_553[A_firstFree_325]; A_typeId_979[this_183] = 2; }; return this_183; } function dispatch_B_B_B_show209(integer this123) { if (A_typeId_979[this_123] == 0) { if (this_123 == 0) { error134("Nullpointer exception when calling B.show"); } else { error134("Called B.show on invalid object."); }; } else { }; B_show145(this_123); }