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

◆ TuneOceanDepth()

static double Terraria.WorldGen.TuneOceanDepth ( int count,
double depth,
bool floridaStyle = false )
inlinestaticprivate

Definition at line 3306 of file WorldGen.cs.

3307 {
3308 /*
3309An exception occurred when decompiling this method (06002CCE)
3310
3311ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.WorldGen::TuneOceanDepth(System.Int32,System.Double,System.Boolean)
3312
3313 ---> System.Exception: Basic block has to end with unconditional control flow.
3314{
3315 Block_0:
3316 stloc:int32(var_0_0E, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3317 stloc:int32(var_1_1D, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3318 stloc:int32(var_2_2C, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3319 stloc:int32(var_3_3B, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3320 stloc:int32(var_4_4A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3321 stloc:int32(var_5_5A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3322 stloc:int32(var_6_6A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3323 stloc:int32(var_7_7A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3324 stloc:int32(var_8_8A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3325 stloc:int32(var_9_9A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3326 stloc:int32(var_10_AA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3327 stloc:int32(var_11_BA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3328 stloc:int32(var_12_CA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3329 stloc:int32(var_13_DA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3330 stloc:int32(var_14_EA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3331 stloc:int32(var_15_FA, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3332 stloc:int32(var_16_10A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3333 stloc:int32(var_17_11A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3334 stloc:int32(var_18_12A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3335 stloc:int32(var_19_13A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3336 stloc:int32(var_20_14A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3337 stloc:int32(var_21_15A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3338 stloc:int32(var_22_16A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3339 stloc:int32(var_23_17A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3340 stloc:int32(var_24_18A, call:int32(UnifiedRandom::Next, callgetter:UnifiedRandom(WorldGen::get_genRand), ldc.i4:int32(10), ldc.i4:int32(20)))
3341}
3342
3343 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
3344 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
3345 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
3346 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
3347 --- End of inner exception stack trace ---
3348 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
3349 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
3350*/;
3351 }