array Pair_nextFree986 integer Pair_firstFree132 integer Pair_maxIndex631 array Pair_a203 integer wurst_stack_depth785 array wurst_stack188 integer Pair_firstFree132 = 0 integer Pair_maxIndex631 = 0 integer wurst_stack_depth785 = 0 function initGlobals184() { } function main161() { initGlobals184(); wurst_stack_188[wurst_stack_depth_785] = "when calling init_test in constr2, line 1"; wurst_stack_depth_785 = (wurst_stack_depth_785 + 1); if (Pair_a_203[new_OtherPair619(2, 3, "when calling new_OtherPair in constr2, line 14")] == 2) { testSuccess129(); } else { }; wurst_stack_depth_785 = (wurst_stack_depth_785 - 1); } function config115() { } IS_NATIVE function testSuccess129() { } function new_OtherPair619(integer a200, integer b500, string __wurst_stackPos159) returns integer { wurst_stack_188[wurst_stack_depth_785] = __wurst_stackPos_159; wurst_stack_depth_785 = (wurst_stack_depth_785 + 1); wurst_stack_188[wurst_stack_depth_785] = "when calling alloc_OtherPair in constr2, line 10"; wurst_stack_depth_785 = (wurst_stack_depth_785 + 1); if (Pair_firstFree_132 == 0) { if (Pair_maxIndex_631 < 32768) { Pair_maxIndex_631 = (Pair_maxIndex_631 + 1); b_500 = Pair_maxIndex_631; } else { error153("Out of memory: Could not create OtherPair.", "when calling error in constr2, line 9"); b_500 = 0; }; } else { Pair_firstFree_132 = (Pair_firstFree_132 - 1); b_500 = Pair_nextFree_986[Pair_firstFree_132]; }; wurst_stack_depth_785 = (wurst_stack_depth_785 - 1); Pair_a_203[b_500] = a_200; wurst_stack_depth_785 = (wurst_stack_depth_785 - 1); return b_500; } function error153(string msg213, string __wurst_stackPos819) { local integer stacktraceIndex174 local integer stacktraceLimit213 wurst_stack_188[wurst_stack_depth_785] = __wurst_stackPos_819; wurst_stack_depth_785 = (wurst_stack_depth_785 + 1); __wurst_stackPos_819 = ""; stacktraceIndex_174 = wurst_stack_depth_785; stacktraceLimit_213 = 0; loop { stacktraceIndex_174 = (stacktraceIndex_174 - 1); stacktraceLimit_213 = (stacktraceLimit_213 + 1); exitwhen ((stacktraceLimit_213 > 20) or (stacktraceIndex_174 < 0)); __wurst_stackPos_819 = (__wurst_stackPos_819 + (" " + wurst_stack_188[stacktraceIndex_174])); }; $debugPrint553((msg_213 + (" " + __wurst_stackPos_819))); wurst_stack_depth_785 = (wurst_stack_depth_785 - 1); }