array A_nextFree112 integer A_firstFree138 integer A_maxIndex115 array A_typeId434 integer wurst_stack_depth841 array wurst_stack238 integer A_firstFree138 = 0 integer A_maxIndex115 = 0 integer wurst_stack_depth841 = 0 function initGlobals179() { } function main198() { initGlobals179(); wurst_stack_238[wurst_stack_depth_841] = "when calling init_B in protectedInOtherPackage2, line 7"; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); dispatch_B_B_B_blub801(new_B112("when calling new_B in protectedInOtherPackage2, line 13"), "when calling blub in protectedInOtherPackage2, line 13"); wurst_stack_depth_841 = (wurst_stack_depth_841 - 1); } function config126() { } IS_NATIVE function testSuccess124() { } function new_B112(string __wurst_stackPos112) returns integer { local integer this616 wurst_stack_238[wurst_stack_depth_841] = __wurst_stackPos_112; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); wurst_stack_238[wurst_stack_depth_841] = "when calling alloc_B in protectedInOtherPackage2, line 9"; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); if (A_firstFree_138 == 0) { if (A_maxIndex_115 < 32768) { A_maxIndex_115 = (A_maxIndex_115 + 1); this_616 = A_maxIndex_115; A_typeId_434[this_616] = 2; } else { error553("Out of memory: Could not create B.", "when calling error in protectedInOtherPackage2, line 9"); this_616 = 0; }; } else { A_firstFree_138 = (A_firstFree_138 - 1); this_616 = A_nextFree_112[A_firstFree_138]; A_typeId_434[this_616] = 2; }; wurst_stack_depth_841 = ((wurst_stack_depth_841 - 1) - 1); return this_616; } function error553(string msg208, string __wurst_stackPos751) { local integer stacktraceIndex232 local integer stacktraceLimit715 wurst_stack_238[wurst_stack_depth_841] = __wurst_stackPos_751; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); __wurst_stackPos_751 = ""; stacktraceIndex_232 = wurst_stack_depth_841; stacktraceLimit_715 = 0; loop { stacktraceIndex_232 = (stacktraceIndex_232 - 1); stacktraceLimit_715 = (stacktraceLimit_715 + 1); exitwhen ((stacktraceLimit_715 > 20) or (stacktraceIndex_232 < 0)); __wurst_stackPos_751 = (__wurst_stackPos_751 + (" " + wurst_stack_238[stacktraceIndex_232])); }; $debugPrint449((msg_208 + (" " + __wurst_stackPos_751))); wurst_stack_depth_841 = (wurst_stack_depth_841 - 1); } function dispatch_B_B_B_blub801(integer this169, string __wurst_stackPos128) { wurst_stack_238[wurst_stack_depth_841] = __wurst_stackPos_128; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); if (A_typeId_434[this_169] == 0) { if (this_169 == 0) { error553("Nullpointer exception when calling B.blub", "when calling error in protectedInOtherPackage2, line 10"); } else { error553("Called B.blub on invalid object.", "when calling error in protectedInOtherPackage2, line 10"); }; } else { }; wurst_stack_238[wurst_stack_depth_841] = "when calling blub in protectedInOtherPackage2, line 10"; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); wurst_stack_238[wurst_stack_depth_841] = "when calling show in protectedInOtherPackage2, line 11"; wurst_stack_depth_841 = (wurst_stack_depth_841 + 1); if (A_typeId_434[this_169] == 0) { if (this_169 == 0) { error553("Nullpointer exception when calling A.show", "when calling error in protectedInOtherPackage2, line 4"); } else { error553("Called A.show on invalid object.", "when calling error in protectedInOtherPackage2, line 4"); }; } else { }; testSuccess124(); wurst_stack_depth_841 = (((wurst_stack_depth_841 - 1) - 1) - 1); }