array C_nextFree201 integer C_firstFree768 integer C_maxIndex297 array C_B_A_x396 integer wurst_stack_depth666 array wurst_stack126 integer C_firstFree768 = 0 integer C_maxIndex297 = 0 integer wurst_stack_depth666 = 0 function initGlobals298() { } function main640() { initGlobals298(); wurst_stack_126[wurst_stack_depth_666] = "when calling init_Test in nested_module_init, line 1"; wurst_stack_depth_666 = (wurst_stack_depth_666 + 1); if (C_B_A_x_396[new_C599("when calling new_C in nested_module_init, line 13")] == 2) { testSuccess138(); } else { }; wurst_stack_depth_666 = (wurst_stack_depth_666 - 1); } function config193() { } IS_NATIVE function testSuccess138() { } function new_C599(string __wurst_stackPos167) returns integer { local integer this191 wurst_stack_126[wurst_stack_depth_666] = __wurst_stackPos_167; wurst_stack_depth_666 = (wurst_stack_depth_666 + 1); wurst_stack_126[wurst_stack_depth_666] = "when calling alloc_C in nested_module_init, line 9"; wurst_stack_depth_666 = (wurst_stack_depth_666 + 1); if (C_firstFree_768 == 0) { if (C_maxIndex_297 < 32768) { C_maxIndex_297 = (C_maxIndex_297 + 1); this_191 = C_maxIndex_297; } else { error406("Out of memory: Could not create C.", "when calling error in nested_module_init, line 9"); this_191 = 0; }; } else { C_firstFree_768 = (C_firstFree_768 - 1); this_191 = C_nextFree_201[C_firstFree_768]; }; wurst_stack_depth_666 = (wurst_stack_depth_666 - 1); C_B_A_x_396[this_191] = 3; C_B_A_x_396[this_191] = (C_B_A_x_396[this_191] - 1); wurst_stack_depth_666 = (wurst_stack_depth_666 - 1); return this_191; } function error406(string msg225, string __wurst_stackPos703) { local integer stacktraceIndex223 local integer stacktraceLimit205 wurst_stack_126[wurst_stack_depth_666] = __wurst_stackPos_703; wurst_stack_depth_666 = (wurst_stack_depth_666 + 1); __wurst_stackPos_703 = ""; stacktraceIndex_223 = wurst_stack_depth_666; stacktraceLimit_205 = 0; loop { stacktraceIndex_223 = (stacktraceIndex_223 - 1); stacktraceLimit_205 = (stacktraceLimit_205 + 1); exitwhen ((stacktraceLimit_205 > 20) or (stacktraceIndex_223 < 0)); __wurst_stackPos_703 = (__wurst_stackPos_703 + (" " + wurst_stack_126[stacktraceIndex_223])); }; $debugPrint145((msg_225 + (" " + __wurst_stackPos_703))); wurst_stack_depth_666 = (wurst_stack_depth_666 - 1); }