array A_nextFree819 integer A_firstFree976 integer A_maxIndex513 array A_typeId629 integer A_firstFree976 = 0 integer A_maxIndex513 = 0 function initGlobals132() { } function main151() { initGlobals132(); dispatch_B_B_B_blub955(new_B616()); } function config143() { } IS_NATIVE function testSuccess150() { } function new_B616() returns integer { local integer this189 if (A_firstFree_976 == 0) { if (A_maxIndex_513 < 32768) { A_maxIndex_513 = (A_maxIndex_513 + 1); this_189 = A_maxIndex_513; A_typeId_629[this_189] = 2; } else { error155("Out of memory: Could not create B."); this_189 = 0; }; } else { A_firstFree_976 = (A_firstFree_976 - 1); this_189 = A_nextFree_819[A_firstFree_976]; A_typeId_629[this_189] = 2; }; return this_189; } function error155(string msg193) { $debugPrint178((msg_193 + (" " + #getStackTrace()))); } function dispatch_B_B_B_blub955(integer this161) { if (A_typeId_629[this_161] == 0) { if (this_161 == 0) { error155("Nullpointer exception when calling B.blub"); } else { error155("Called B.blub on invalid object."); }; } else { }; if (A_typeId_629[this_161] == 0) { if (this_161 == 0) { error155("Nullpointer exception when calling A.show"); } else { error155("Called A.show on invalid object."); }; } else { }; testSuccess150(); }