array Blub_nextFree203 integer Blub_firstFree238 integer Blub_maxIndex168 array Blub_typeId203 array A_nextFree849 integer A_firstFree129 integer A_maxIndex157 array A_typeId190 array B_nextFree785 integer B_firstFree827 integer B_maxIndex131 array A_x133 array B_x110 integer Blub_firstFree238 = 0 integer Blub_maxIndex168 = 0 integer A_firstFree129 = 0 integer A_maxIndex157 = 0 integer B_firstFree827 = 0 integer B_maxIndex131 = 0 function initGlobals176() { } function main715() { initGlobals176(); init_test124(); } function config700() { } function init_test124() { local integer temp173 local integer this936 local integer this133 if (A_firstFree_129 == 0) { if (A_maxIndex_157 < 32768) { A_maxIndex_157 = (A_maxIndex_157 + 1); this_936 = A_maxIndex_157; A_typeId_190[this_936] = 1; } else { error204("Out of memory: Could not create A."); this_936 = 0; }; } else { A_firstFree_129 = (A_firstFree_129 - 1); this_936 = A_nextFree_849[A_firstFree_129]; A_typeId_190[this_936] = 1; }; A_x_133[this_936] = 3; temp_173 = new_B135(4); if (Blub_firstFree_238 == 0) { if (Blub_maxIndex_168 < 32768) { Blub_maxIndex_168 = (Blub_maxIndex_168 + 1); this_133 = Blub_maxIndex_168; Blub_typeId_203[this_133] = 4; } else { error204("Out of memory: Could not create Blub_callMe_test."); this_133 = 0; }; } else { Blub_firstFree_238 = (Blub_firstFree_238 - 1); this_133 = Blub_nextFree_203[Blub_firstFree_238]; Blub_typeId_203[this_133] = 4; }; if (B_x_110[dispatch_Blub_test_Blub_foo193(this_133, this_936, dispatch_Blub_test_Blub_foo193(this_133, this_936, temp_173))] == 10) { testSuccess323(); } else { }; } IS_NATIVE function testSuccess323() { } function new_B135(integer x512) returns integer { local integer this191 if (B_firstFree_827 == 0) { if (B_maxIndex_131 < 32768) { B_maxIndex_131 = (B_maxIndex_131 + 1); this_191 = B_maxIndex_131; } else { error204("Out of memory: Could not create B."); this_191 = 0; }; } else { B_firstFree_827 = (B_firstFree_827 - 1); this_191 = B_nextFree_785[B_firstFree_827]; }; B_x_110[this_191] = x_512; return this_191; } function error204(string msg152) { $debugPrint101((msg_152 + (" " + #getStackTrace()))); } function dispatch_Blub_test_Blub_foo193(integer this178, any t163, any s369) returns any { if (Blub_typeId_203[this_178] == 0) { if (this_178 == 0) { error204("Nullpointer exception when calling Blub.foo"); } else { error204("Called Blub.foo on invalid object."); }; } else { }; if (A_typeId_190[t_163] == 0) { if (t_163 == 0) { error204("Nullpointer exception when calling A.foo"); } else { error204("Called A.foo on invalid object."); }; } else { }; this_178 = new_B135((A_x_133[t_163] + B_x_110[s_369])); return this_178; }