array I_nextFree335 integer I_firstFree188 integer I_maxIndex196 array I_typeId482 integer wurst_stack_depth692 array wurst_stack211 integer I_firstFree188 = 0 integer I_maxIndex196 = 0 integer wurst_stack_depth692 = 0 function initGlobals141() { } function main202() { local integer i183 initGlobals141(); wurst_stack_211[wurst_stack_depth_692] = "when calling init_test in testOverride, line 1"; wurst_stack_depth_692 = (wurst_stack_depth_692 + 1); i_183 = new_C102("when calling new_C in testOverride, line 10"); wurst_stack_211[wurst_stack_depth_692] = "when calling foo in testOverride, line 11"; wurst_stack_depth_692 = (wurst_stack_depth_692 + 1); if (I_typeId_482[i_183] == 0) { if (i_183 == 0) { error121("Nullpointer exception when calling I.foo", "when calling error in testOverride, line 4"); } else { error121("Called I.foo on invalid object.", "when calling error in testOverride, line 4"); }; } else { }; testSuccess148(); wurst_stack_depth_692 = ((wurst_stack_depth_692 - 1) - 1); } function config107() { } IS_NATIVE function testSuccess148() { } function new_C102(string __wurst_stackPos152) returns integer { local integer this204 wurst_stack_211[wurst_stack_depth_692] = __wurst_stackPos_152; wurst_stack_depth_692 = (wurst_stack_depth_692 + 1); wurst_stack_211[wurst_stack_depth_692] = "when calling alloc_C in testOverride, line 5"; wurst_stack_depth_692 = (wurst_stack_depth_692 + 1); if (I_firstFree_188 == 0) { if (I_maxIndex_196 < 32768) { I_maxIndex_196 = (I_maxIndex_196 + 1); this_204 = I_maxIndex_196; I_typeId_482[this_204] = 2; } else { error121("Out of memory: Could not create C.", "when calling error in testOverride, line 5"); this_204 = 0; }; } else { I_firstFree_188 = (I_firstFree_188 - 1); this_204 = I_nextFree_335[I_firstFree_188]; I_typeId_482[this_204] = 2; }; wurst_stack_depth_692 = ((wurst_stack_depth_692 - 1) - 1); return this_204; } function error121(string msg167, string __wurst_stackPos184) { local integer stacktraceIndex112 local integer stacktraceLimit152 wurst_stack_211[wurst_stack_depth_692] = __wurst_stackPos_184; wurst_stack_depth_692 = (wurst_stack_depth_692 + 1); __wurst_stackPos_184 = ""; stacktraceIndex_112 = wurst_stack_depth_692; stacktraceLimit_152 = 0; loop { stacktraceIndex_112 = (stacktraceIndex_112 - 1); stacktraceLimit_152 = (stacktraceLimit_152 + 1); exitwhen ((stacktraceLimit_152 > 20) or (stacktraceIndex_112 < 0)); __wurst_stackPos_184 = (__wurst_stackPos_184 + (" " + wurst_stack_211[stacktraceIndex_112])); }; $debugPrint109((msg_167 + (" " + __wurst_stackPos_184))); wurst_stack_depth_692 = (wurst_stack_depth_692 - 1); }