array Test_nextFree960 integer Test_firstFree939 integer Test_maxIndex136 array Test_typeId146 integer wurst_stack_depth914 array wurst_stack121 integer Test_firstFree939 = 0 integer Test_maxIndex136 = 0 integer wurst_stack_depth914 = 0 function initGlobals171() { } function main894() { local integer t937 initGlobals171(); wurst_stack_121[wurst_stack_depth_914] = "when calling init_test in realIndex, line 1"; wurst_stack_depth_914 = (wurst_stack_depth_914 + 1); t_937 = new_Test168("when calling new_Test in realIndex, line 18"); wurst_stack_121[wurst_stack_depth_914] = "when calling colorize in realIndex, line 19"; wurst_stack_depth_914 = (wurst_stack_depth_914 + 1); if (Test_typeId_146[t_937] == 0) { if (t_937 == 0) { error177("Nullpointer exception when calling Test.colorize", "when calling error in realIndex, line 9"); } else { error177("Called Test.colorize on invalid object.", "when calling error in realIndex, line 9"); }; } else { }; wurst_stack_depth_914 = ((wurst_stack_depth_914 - 1) - 1); } function config611() { } function new_Test168(string __wurst_stackPos181) returns integer { local integer this357 wurst_stack_121[wurst_stack_depth_914] = __wurst_stackPos_181; wurst_stack_depth_914 = (wurst_stack_depth_914 + 1); wurst_stack_121[wurst_stack_depth_914] = "when calling alloc_Test in realIndex, line 7"; wurst_stack_depth_914 = (wurst_stack_depth_914 + 1); if (Test_firstFree_939 == 0) { if (Test_maxIndex_136 < 32768) { Test_maxIndex_136 = (Test_maxIndex_136 + 1); this_357 = Test_maxIndex_136; Test_typeId_146[this_357] = 1; } else { error177("Out of memory: Could not create Test.", "when calling error in realIndex, line 7"); this_357 = 0; }; } else { Test_firstFree_939 = (Test_firstFree_939 - 1); this_357 = Test_nextFree_960[Test_firstFree_939]; Test_typeId_146[this_357] = 1; }; wurst_stack_depth_914 = ((wurst_stack_depth_914 - 1) - 1); return this_357; } function error177(string msg205, string __wurst_stackPos286) { local integer stacktraceIndex228 local integer stacktraceLimit141 wurst_stack_121[wurst_stack_depth_914] = __wurst_stackPos_286; wurst_stack_depth_914 = (wurst_stack_depth_914 + 1); __wurst_stackPos_286 = ""; stacktraceIndex_228 = wurst_stack_depth_914; stacktraceLimit_141 = 0; loop { stacktraceIndex_228 = (stacktraceIndex_228 - 1); stacktraceLimit_141 = (stacktraceLimit_141 + 1); exitwhen ((stacktraceLimit_141 > 20) or (stacktraceIndex_228 < 0)); __wurst_stackPos_286 = (__wurst_stackPos_286 + (" " + wurst_stack_121[stacktraceIndex_228])); }; $debugPrint350((msg_205 + (" " + __wurst_stackPos_286))); wurst_stack_depth_914 = (wurst_stack_depth_914 - 1); }