integer test_i203 array A_nextFree920 integer A_firstFree200 integer A_maxIndex203 array A_typeId184 integer wurst_stack_depth205 array wurst_stack746 integer A_firstFree200 = 0 integer A_maxIndex203 = 0 integer wurst_stack_depth205 = 0 function initGlobals138() { } function main981() { initGlobals138(); wurst_stack_746[wurst_stack_depth_205] = "when calling init_test in override_valid_void, line 1"; wurst_stack_depth_205 = (wurst_stack_depth_205 + 1); dispatch_A_test_A_foo180(new_B456("when calling new_B in override_valid_void, line 11"), "when calling foo in override_valid_void, line 12"); if (test_i_203 == 8) { testSuccess799(); } else { }; wurst_stack_depth_205 = (wurst_stack_depth_205 - 1); } function config125() { } IS_NATIVE function testSuccess799() { } function new_B456(string __wurst_stackPos183) returns integer { local integer this670 wurst_stack_746[wurst_stack_depth_205] = __wurst_stackPos_183; wurst_stack_depth_205 = (wurst_stack_depth_205 + 1); wurst_stack_746[wurst_stack_depth_205] = "when calling alloc_B in override_valid_void, line 7"; wurst_stack_depth_205 = (wurst_stack_depth_205 + 1); if (A_firstFree_200 == 0) { if (A_maxIndex_203 < 32768) { A_maxIndex_203 = (A_maxIndex_203 + 1); this_670 = A_maxIndex_203; A_typeId_184[this_670] = 2; } else { error279("Out of memory: Could not create B.", "when calling error in override_valid_void, line 7"); this_670 = 0; }; } else { A_firstFree_200 = (A_firstFree_200 - 1); this_670 = A_nextFree_920[A_firstFree_200]; A_typeId_184[this_670] = 2; }; wurst_stack_depth_205 = ((wurst_stack_depth_205 - 1) - 1); return this_670; } function error279(string msg155, string __wurst_stackPos132) { local integer stacktraceIndex124 local integer stacktraceLimit362 wurst_stack_746[wurst_stack_depth_205] = __wurst_stackPos_132; wurst_stack_depth_205 = (wurst_stack_depth_205 + 1); __wurst_stackPos_132 = ""; stacktraceIndex_124 = wurst_stack_depth_205; stacktraceLimit_362 = 0; loop { stacktraceIndex_124 = (stacktraceIndex_124 - 1); stacktraceLimit_362 = (stacktraceLimit_362 + 1); exitwhen ((stacktraceLimit_362 > 20) or (stacktraceIndex_124 < 0)); __wurst_stackPos_132 = (__wurst_stackPos_132 + (" " + wurst_stack_746[stacktraceIndex_124])); }; $debugPrint685((msg_155 + (" " + __wurst_stackPos_132))); wurst_stack_depth_205 = (wurst_stack_depth_205 - 1); } function dispatch_A_test_A_foo180(integer this760, string __wurst_stackPos207) { wurst_stack_746[wurst_stack_depth_205] = __wurst_stackPos_207; wurst_stack_depth_205 = (wurst_stack_depth_205 + 1); if (A_typeId_184[this_760] == 0) { if (this_760 == 0) { error279("Nullpointer exception when calling A.foo", "when calling error in override_valid_void, line 5"); } else { error279("Called A.foo on invalid object.", "when calling error in override_valid_void, line 5"); }; } else { }; if (A_typeId_184[this_760] <= 1) { test_i_203 = 7; } else { test_i_203 = 8; }; wurst_stack_depth_205 = (wurst_stack_depth_205 - 1); }