array I_nextFree184 integer I_firstFree171 integer I_maxIndex101 integer wurst_stack_depth935 array wurst_stack112 integer I_firstFree171 = 0 integer I_maxIndex101 = 0 integer wurst_stack_depth935 = 0 function initGlobals347() { } function main408() { initGlobals347(); init_test200("when calling init_test in casts, line 1"); } function config595() { } function init_test200(string __wurst_stackPos144) { local integer this181 wurst_stack_112[wurst_stack_depth_935] = __wurst_stackPos_144; wurst_stack_depth_935 = (wurst_stack_depth_935 + 1); wurst_stack_112[wurst_stack_depth_935] = "when calling new_C in casts, line 12"; wurst_stack_depth_935 = (wurst_stack_depth_935 + 1); wurst_stack_112[wurst_stack_depth_935] = "when calling alloc_C in casts, line 8"; wurst_stack_depth_935 = (wurst_stack_depth_935 + 1); if (I_firstFree_171 == 0) { if (I_maxIndex_101 < 32768) { I_maxIndex_101 = (I_maxIndex_101 + 1); this_181 = I_maxIndex_101; } else { error125("Out of memory: Could not create C.", "when calling error in casts, line 8"); this_181 = 0; }; } else { I_firstFree_171 = (I_firstFree_171 - 1); this_181 = I_nextFree_184[I_firstFree_171]; }; wurst_stack_depth_935 = ((wurst_stack_depth_935 - 1) - 1); if (((this_181 castTo integer) castTo integer) == this_181) { testSuccess156(); } else { }; wurst_stack_depth_935 = (wurst_stack_depth_935 - 1); } IS_NATIVE function testSuccess156() { } function error125(string msg194, string __wurst_stackPos151) { local integer stacktraceIndex397 local integer stacktraceLimit210 wurst_stack_112[wurst_stack_depth_935] = __wurst_stackPos_151; wurst_stack_depth_935 = (wurst_stack_depth_935 + 1); __wurst_stackPos_151 = ""; stacktraceIndex_397 = wurst_stack_depth_935; stacktraceLimit_210 = 0; loop { stacktraceIndex_397 = (stacktraceIndex_397 - 1); stacktraceLimit_210 = (stacktraceLimit_210 + 1); exitwhen ((stacktraceLimit_210 > 20) or (stacktraceIndex_397 < 0)); __wurst_stackPos_151 = (__wurst_stackPos_151 + (" " + wurst_stack_112[stacktraceIndex_397])); }; $debugPrint758((msg_194 + (" " + __wurst_stackPos_151))); wurst_stack_depth_935 = (wurst_stack_depth_935 - 1); }