array A_nextFree333 integer A_firstFree185 integer A_maxIndex373 array A_typeId157 integer A_firstFree185 = 0 integer A_maxIndex373 = 0 function initGlobals946() { } function main572() { initGlobals946(); init_B121(); } function config190() { } IS_NATIVE function testSuccess377() { } function init_B121() { dispatch_B_B_B_show816(new_B152()); } function A_show954(integer this441) { testSuccess377(); } function A_init100(integer this702) { } function construct_A553(integer this190) { A_init100(this_190); } function B_show676(integer this164) { A_show954(this_164); } function B_init177(integer this126) { } function new_B152() returns integer { local integer this242 this_242 = alloc_B282(); construct_B485(this_242); return this_242; } function construct_B485(integer this163) { construct_A553(this_163); B_init177(this_163); } function error138(string msg859) { $debugPrint184((msg_859 + (" " + #getStackTrace()))); } function alloc_B282() returns integer { local integer this189 if (A_firstFree_185 == 0) { if (A_maxIndex_373 < 32768) { A_maxIndex_373 = (A_maxIndex_373 + 1); this_189 = A_maxIndex_373; A_typeId_157[this_189] = 2; } else { error138("Out of memory: Could not create B."); this_189 = 0; }; } else { A_firstFree_185 = (A_firstFree_185 - 1); this_189 = A_nextFree_333[A_firstFree_185]; A_typeId_157[this_189] = 2; }; return this_189; } function dispatch_B_B_B_show816(integer this138) { if (A_typeId_157[this_138] == 0) { if (this_138 == 0) { error138("Nullpointer exception when calling B.show"); } else { error138("Called B.show on invalid object."); }; } else { }; B_show676(this_138); }