array A_nextFree266 integer A_firstFree784 integer A_maxIndex123 array A_someInt771 integer wurst_stack_depth789 array wurst_stack180 integer A_firstFree784 = 0 integer A_maxIndex123 = 0 integer wurst_stack_depth789 = 0 function initGlobals932() { } function main594() { initGlobals932(); wurst_stack_180[wurst_stack_depth_789] = "when calling init_test in inheritField, line 1"; wurst_stack_depth_789 = (wurst_stack_depth_789 + 1); if (A_someInt_771[new_B216("when calling new_B in inheritField, line 9")] == 1) { testSuccess420(); } else { }; wurst_stack_depth_789 = (wurst_stack_depth_789 - 1); } function config150() { } IS_NATIVE function testSuccess420() { } function new_B216(string __wurst_stackPos188) returns integer { local integer this181 wurst_stack_180[wurst_stack_depth_789] = __wurst_stackPos_188; wurst_stack_depth_789 = (wurst_stack_depth_789 + 1); wurst_stack_180[wurst_stack_depth_789] = "when calling alloc_B in inheritField, line 6"; wurst_stack_depth_789 = (wurst_stack_depth_789 + 1); if (A_firstFree_784 == 0) { if (A_maxIndex_123 < 32768) { A_maxIndex_123 = (A_maxIndex_123 + 1); this_181 = A_maxIndex_123; } else { error154("Out of memory: Could not create B.", "when calling error in inheritField, line 5"); this_181 = 0; }; } else { A_firstFree_784 = (A_firstFree_784 - 1); this_181 = A_nextFree_266[A_firstFree_784]; }; wurst_stack_depth_789 = (wurst_stack_depth_789 - 1); A_someInt_771[this_181] = 1; wurst_stack_depth_789 = (wurst_stack_depth_789 - 1); return this_181; } function error154(string msg705, string __wurst_stackPos797) { local integer stacktraceIndex991 local integer stacktraceLimit130 wurst_stack_180[wurst_stack_depth_789] = __wurst_stackPos_797; wurst_stack_depth_789 = (wurst_stack_depth_789 + 1); __wurst_stackPos_797 = ""; stacktraceIndex_991 = wurst_stack_depth_789; stacktraceLimit_130 = 0; loop { stacktraceIndex_991 = (stacktraceIndex_991 - 1); stacktraceLimit_130 = (stacktraceLimit_130 + 1); exitwhen ((stacktraceLimit_130 > 20) or (stacktraceIndex_991 < 0)); __wurst_stackPos_797 = (__wurst_stackPos_797 + (" " + wurst_stack_180[stacktraceIndex_991])); }; $debugPrint230((msg_705 + (" " + __wurst_stackPos_797))); wurst_stack_depth_789 = (wurst_stack_depth_789 - 1); }