array Blub_nextFree279 integer Blub_firstFree139 integer Blub_maxIndex150 array Blub_typeId164 array A_nextFree120 integer A_firstFree785 integer A_maxIndex150 array A_typeId157 array B_nextFree119 integer B_firstFree242 integer B_maxIndex554 array A_x367 array B_x670 integer Blub_firstFree139 = 0 integer Blub_maxIndex150 = 0 integer A_firstFree785 = 0 integer A_maxIndex150 = 0 integer B_firstFree242 = 0 integer B_maxIndex554 = 0 function initGlobals200() { } function main233() { initGlobals200(); init_test428(); } function config160() { } function init_test428() { local integer i187 local integer clVar121 local integer temp178 local integer temp422 local integer x982 local integer this108 local integer this207 local integer this160 local integer x147 local integer this771 local any t755 local any s242 local integer b511 local any s2201 x_982 = 3; if (A_firstFree_785 == 0) { if (A_maxIndex_150 < 32768) { A_maxIndex_150 = (A_maxIndex_150 + 1); this_207 = A_maxIndex_150; A_typeId_157[this_207] = 1; } else { error210("Out of memory: Could not create A."); this_207 = 0; }; } else { A_firstFree_785 = (A_firstFree_785 - 1); this_207 = A_nextFree_120[A_firstFree_785]; A_typeId_157[this_207] = 1; }; this_108 = this_207; this_160 = this_108; x_147 = x_982; A_x_367[this_160] = x_147; temp_178 = this_108; temp_422 = new_B177(4); if (Blub_firstFree_139 == 0) { if (Blub_maxIndex_150 < 32768) { Blub_maxIndex_150 = (Blub_maxIndex_150 + 1); this_771 = Blub_maxIndex_150; Blub_typeId_164[this_771] = 4; } else { error210("Out of memory: Could not create Blub_callMe_test."); this_771 = 0; }; } else { Blub_firstFree_139 = (Blub_firstFree_139 - 1); this_771 = Blub_nextFree_279[Blub_firstFree_139]; Blub_typeId_164[this_771] = 4; }; clVar_121 = this_771; t_755 = temp_178; s_242 = temp_422; b_511 = clVar_121; s2_201 = dispatch_Blub_test_Blub_foo115(b_511, t_755, s_242); i_187 = dispatch_Blub_test_Blub_foo115(b_511, t_755, s2_201); if (B_x_670[i_187] == 10) { testSuccess188(); } else { }; } IS_NATIVE function testSuccess188() { } function new_B177(integer x146) returns integer { local integer this116 local integer this268 local integer this734 local integer x198 if (B_firstFree_242 == 0) { if (B_maxIndex_554 < 32768) { B_maxIndex_554 = (B_maxIndex_554 + 1); this_268 = B_maxIndex_554; } else { error210("Out of memory: Could not create B."); this_268 = 0; }; } else { B_firstFree_242 = (B_firstFree_242 - 1); this_268 = B_nextFree_119[B_firstFree_242]; }; this_116 = this_268; this_734 = this_116; x_198 = x_146; B_x_670[this_734] = x_198; return this_116; } function error210(string msg130) { $debugPrint194((msg_130 + (" " + #getStackTrace()))); } function dispatch_Blub_test_Blub_foo115(integer this452, any t213, any s113) returns any { local any test_Blub_foo_result418 local integer a301 local integer b139 local integer this115 local integer b112 local integer test_A_foo_result106 local integer this103 local integer b460 if (Blub_typeId_164[this_452] == 0) { if (this_452 == 0) { error210("Nullpointer exception when calling Blub.foo"); } else { error210("Called Blub.foo on invalid object."); }; } else { }; a_301 = t_213; b_139 = s_113; this_115 = a_301; b_112 = b_139; if (A_typeId_157[this_115] == 0) { if (this_115 == 0) { error210("Nullpointer exception when calling A.foo"); } else { error210("Called A.foo on invalid object."); }; } else { }; this_103 = this_115; b_460 = b_112; test_A_foo_result_106 = new_B177((A_x_367[this_103] + B_x_670[b_460])); test_Blub_foo_result_418 = test_A_foo_result_106; return test_Blub_foo_result_418; }