integer PowerLevel_amount165 array PowerLevel_nextFree158 integer PowerLevel_firstFree144 integer PowerLevel_maxIndex111 integer wurst_stack_depth207 array wurst_stack752 integer PowerLevel_amount165 = 0 integer PowerLevel_firstFree144 = 0 integer PowerLevel_maxIndex111 = 0 integer wurst_stack_depth207 = 0 function initGlobals150() { } function main601() { local integer i421 initGlobals150(); wurst_stack_752[wurst_stack_depth_207] = "when calling init_Vegeta in testOver9000, line 1"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); i_421 = 0; loop { exitwhen (i_421 > 20000); new_PowerLevel107("when calling new_PowerLevel in testOver9000, line 10"); i_421 = (i_421 + 1); }; if ((PowerLevel_amount_165 > 9000) and (PowerLevel_amount_165 == 20001)) { testSuccess148(); } else { }; wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); } function config262() { } IS_NATIVE function testSuccess148() { } function new_PowerLevel107(string __wurst_stackPos309) returns integer { local integer this154 wurst_stack_752[wurst_stack_depth_207] = __wurst_stackPos_309; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); wurst_stack_752[wurst_stack_depth_207] = "when calling alloc_PowerLevel in testOver9000, line 5"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); if (PowerLevel_firstFree_144 == 0) { if (PowerLevel_maxIndex_111 < 32768) { PowerLevel_maxIndex_111 = (PowerLevel_maxIndex_111 + 1); this_154 = PowerLevel_maxIndex_111; } else { error152("Out of memory: Could not create PowerLevel.", "when calling error in testOver9000, line 3"); this_154 = 0; }; } else { PowerLevel_firstFree_144 = (PowerLevel_firstFree_144 - 1); this_154 = PowerLevel_nextFree_158[PowerLevel_firstFree_144]; }; wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); PowerLevel_amount_165 = (PowerLevel_amount_165 + 1); wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); return this_154; } function error152(string msg881, string __wurst_stackPos148) { local integer stacktraceIndex870 local integer stacktraceLimit916 wurst_stack_752[wurst_stack_depth_207] = __wurst_stackPos_148; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); __wurst_stackPos_148 = ""; stacktraceIndex_870 = wurst_stack_depth_207; stacktraceLimit_916 = 0; loop { stacktraceIndex_870 = (stacktraceIndex_870 - 1); stacktraceLimit_916 = (stacktraceLimit_916 + 1); exitwhen ((stacktraceLimit_916 > 20) or (stacktraceIndex_870 < 0)); __wurst_stackPos_148 = (__wurst_stackPos_148 + (" " + wurst_stack_752[stacktraceIndex_870])); }; $debugPrint165((msg_881 + (" " + __wurst_stackPos_148))); wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); }