array A_nextFree501 integer A_firstFree870 integer A_maxIndex546 array A_typeId157 integer A_firstFree870 = 0 integer A_maxIndex546 = 0 function initGlobals406() { } function main173() { initGlobals406(); dispatch_B_B_B_blub207(new_B160()); } function config139() { } IS_NATIVE function testSuccess145() { } function new_B160() returns integer { local integer this755 if (A_firstFree_870 == 0) { if (A_maxIndex_546 < 32768) { A_maxIndex_546 = (A_maxIndex_546 + 1); this_755 = A_maxIndex_546; A_typeId_157[this_755] = 2; } else { error214("Out of memory: Could not create B."); this_755 = 0; }; } else { A_firstFree_870 = (A_firstFree_870 - 1); this_755 = A_nextFree_501[A_firstFree_870]; A_typeId_157[this_755] = 2; }; return this_755; } function error214(string msg121) { $debugPrint210((msg_121 + (" " + #getStackTrace()))); } function dispatch_B_B_B_blub207(integer this474) { if (A_typeId_157[this_474] == 0) { if (this_474 == 0) { error214("Nullpointer exception when calling B.blub"); } else { error214("Called B.blub on invalid object."); }; } else { }; if (A_typeId_157[this_474] == 0) { if (this_474 == 0) { error214("Nullpointer exception when calling A.show"); } else { error214("Called A.show on invalid object."); }; } else { }; testSuccess145(); }