array Test_nextFree158 integer Test_firstFree193 integer Test_maxIndex138 array Test_typeId137 integer wurst_stack_depth144 array wurst_stack978 integer Test_firstFree193 = 0 integer Test_maxIndex138 = 0 integer wurst_stack_depth144 = 0 function initGlobals458() { } function main165() { local integer t205 initGlobals458(); wurst_stack_978[wurst_stack_depth_144] = "when calling init_test in realIndex, line 1"; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); t_205 = new_Test442("when calling new_Test in realIndex, line 18"); wurst_stack_978[wurst_stack_depth_144] = "when calling colorize in realIndex, line 19"; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); if (Test_typeId_137[t_205] == 0) { if (t_205 == 0) { error151("Nullpointer exception when calling Test.colorize", "when calling error in realIndex, line 9"); } else { error151("Called Test.colorize on invalid object.", "when calling error in realIndex, line 9"); }; } else { }; wurst_stack_depth_144 = ((wurst_stack_depth_144 - 1) - 1); } function config211() { } function new_Test442(string __wurst_stackPos147) returns integer { local integer this962 wurst_stack_978[wurst_stack_depth_144] = __wurst_stackPos_147; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); wurst_stack_978[wurst_stack_depth_144] = "when calling alloc_Test in realIndex, line 7"; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); if (Test_firstFree_193 == 0) { if (Test_maxIndex_138 < 32768) { Test_maxIndex_138 = (Test_maxIndex_138 + 1); this_962 = Test_maxIndex_138; Test_typeId_137[this_962] = 1; } else { error151("Out of memory: Could not create Test.", "when calling error in realIndex, line 7"); this_962 = 0; }; } else { Test_firstFree_193 = (Test_firstFree_193 - 1); this_962 = Test_nextFree_158[Test_firstFree_193]; Test_typeId_137[this_962] = 1; }; wurst_stack_depth_144 = ((wurst_stack_depth_144 - 1) - 1); return this_962; } function error151(string msg270, string __wurst_stackPos341) { local integer stacktraceIndex167 local integer stacktraceLimit259 wurst_stack_978[wurst_stack_depth_144] = __wurst_stackPos_341; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); __wurst_stackPos_341 = ""; stacktraceIndex_167 = wurst_stack_depth_144; stacktraceLimit_259 = 0; loop { stacktraceIndex_167 = (stacktraceIndex_167 - 1); stacktraceLimit_259 = (stacktraceLimit_259 + 1); exitwhen ((stacktraceLimit_259 > 20) or (stacktraceIndex_167 < 0)); __wurst_stackPos_341 = (__wurst_stackPos_341 + (" " + wurst_stack_978[stacktraceIndex_167])); }; $debugPrint355((msg_270 + (" " + __wurst_stackPos_341))); wurst_stack_depth_144 = (wurst_stack_depth_144 - 1); }