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

◆ MakeDungeon_Banners()

static double Terraria.WorldGen.MakeDungeon_Banners ( int[] roomWall,
double count )
inlinestaticprivate

Definition at line 6367 of file WorldGen.cs.

6368 {
6369 /*
6370An exception occurred when decompiling this method (06002D11)
6371
6372ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.WorldGen::MakeDungeon_Banners(System.Int32[],System.Double)
6373
6374 ---> System.Exception: Basic block has to end with unconditional control flow.
6375{
6376 IL_0008:
6377 stloc:UnifiedRandom(var_1_0D, callgetter:UnifiedRandom(WorldGen::get_genRand))
6378 stloc:UnifiedRandom(var_3_13, callgetter:UnifiedRandom(WorldGen::get_genRand))
6379 stloc:uint16(var_6_1B, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_5)))
6380 stloc:bool(var_8_24, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_7)))
6381 stloc:int64(var_9_27, ldc.i4:int64(0))
6382 stloc:bool(var_10_33, call:bool(WorldGen::SolidTile, ldloc:int32(var_2), ldloc:int32(var_4), ldloc:int64[exp:bool](var_9_27)))
6383 stloc:uint16(var_12_3C, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_11)))
6384 stloc:uint16(var_14_45, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_13)))
6385 stloc:bool(var_16_4E, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_15)))
6386 stloc:bool(var_18_57, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_17)))
6387 stloc:bool(var_20_60, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_19)))
6388 stloc:bool(var_23_6C, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_21)))
6389 stloc:bool(var_26_78, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_24)))
6390 stloc:uint16(var_29_84, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_27)))
6391 stloc:uint16(var_32_90, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_30)))
6392 stloc:uint16(var_34_99, callgetter:uint16(Tile::get_type, ldloc:Tile[exp:valuetype Terraria.Tile&](var_33)))
6393 stloc:uint16(var_36_A2, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_35)))
6394 stloc:uint16(var_39_AF, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_38)))
6395 stloc:UnifiedRandom(var_40_B6, callgetter:UnifiedRandom(WorldGen::get_genRand))
6396 stloc:int32(var_41_B9, ldc.i4:int32(2))
6397 stloc:int32(var_42_C4, call:int32(UnifiedRandom::Next, ldloc:UnifiedRandom(var_40_B6), ldloc:int32(var_41_B9)))
6398}
6399
6400 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
6401 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
6402 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
6403 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
6404 --- End of inner exception stack trace ---
6405 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
6406 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
6407*/;
6408 }