terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Place()

override bool Terraria.GameContent.Biomes.MarbleBiome.Place ( Point origin,
StructureMap structures )
inline

Definition at line 100 of file MarbleBiome.cs.

101 {
102 /*
103An exception occurred when decompiling this method (06004632)
104
105ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameContent.Biomes.MarbleBiome::Place(Microsoft.Xna.Framework.Point,Terraria.WorldBuilding.StructureMap)
106
107 ---> System.Exception: Basic block has to end with unconditional control flow.
108{
109 IL_00B3:
110 stloc:float64(var_30_C3, call:float64(UnifiedRandom::NextDouble, callgetter:UnifiedRandom(GenBase::get__random)))
111 stloc:int64(var_32_C9, ldc.i4:int64(0))
112 stloc:int64(var_33_CC, ldc.i4:int64(0))
113 call:void(MarbleBiome::SmoothSlope, ldloc:MarbleBiome(this), ldloc:int64[exp:int32](var_32_C9), ldloc:int64[exp:int32](var_33_CC))
114 stloc:float64(var_35_E5, call:float64(UnifiedRandom::NextDouble, callgetter:UnifiedRandom(GenBase::get__random)))
115 stloc:float64(var_37_F4, call:float64(UnifiedRandom::NextDouble, callgetter:UnifiedRandom(GenBase::get__random)))
116 stloc:UnifiedRandom(var_39_FE, callgetter:UnifiedRandom(GenBase::get__random))
117 stloc:int64(var_40_101, ldc.i4:int64(0))
118 stloc:float64(var_41_10A, call:float64(UnifiedRandom::NextDouble, ldloc:UnifiedRandom(var_39_FE)))
119 stloc:int32(var_46_11E, call:int32(Math::Min, ldloc:int64[exp:int32](var_20_80), ldloc:int64[exp:int32](var_40_101)))
120}
121
122 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
123 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
124 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
125 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
126 --- End of inner exception stack trace ---
127 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
128 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
129*/;
130 }