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_Pictures()

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

Definition at line 6411 of file WorldGen.cs.

6412 {
6413 /*
6414An exception occurred when decompiling this method (06002D12)
6415
6416ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.WorldGen::MakeDungeon_Pictures(System.Int32[],System.Double)
6417
6418 ---> System.Exception: Basic block has to end with unconditional control flow.
6419{
6420 IL_00E4:
6421 stloc:UnifiedRandom(var_51_E9, callgetter:UnifiedRandom(WorldGen::get_genRand))
6422 stloc:int32(var_52_EC, ldc.i4:int32(3))
6423 stloc:int32(var_53_F7, call:int32(UnifiedRandom::Next, ldloc:UnifiedRandom(var_51_E9), ldloc:int32(var_52_EC)))
6424 stloc:uint16(var_55_100, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_54)))
6425 stloc:UnifiedRandom(var_56_107, callgetter:UnifiedRandom(WorldGen::get_genRand))
6426 stloc:int32(var_57_10A, ldc.i4:int32(3))
6427 stloc:int32(var_58_115, call:int32(UnifiedRandom::Next, ldloc:UnifiedRandom(var_56_107), ldloc:int32(var_57_10A)))
6428 stloc:bool(var_59_11E, call:bool(WorldGen::nearPicture2, ldloc:int32(var_1), ldloc:int32(var_3)))
6429 stloc:PaintingEntry(var_60_125, call:PaintingEntry(WorldGen::RandPictureTile))
6430 stloc:uint16(var_62_12E, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_61)))
6431 stloc:PaintingEntry(var_63_135, call:PaintingEntry(WorldGen::RandBonePicture))
6432 stloc:bool(var_64_13E, call:bool(WorldGen::nearPicture, ldloc:int32(var_1), ldloc:int32(var_3)))
6433 stloc:PaintingEntry(var_66_145, call:PaintingEntry(WorldGen::RandPictureTile))
6434 stloc:uint16(var_68_14E, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_67)))
6435 stloc:PaintingEntry(var_69_155, call:PaintingEntry(WorldGen::RandBonePicture))
6436 stloc:bool(var_71_15E, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_70)))
6437 stloc:bool(var_75_16A, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_74)))
6438 stloc:bool(var_77_173, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_76)))
6439 stloc:bool(var_79_17C, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_78)))
6440 stloc:bool(var_81_185, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_80)))
6441 stloc:bool(var_83_18E, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_82)))
6442 stloc:bool(var_85_197, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_84)))
6443 stloc:PaintingEntry(var_86_19E, call:PaintingEntry(WorldGen::RandPictureTile))
6444 stloc:uint16(var_88_1A7, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_87)))
6445 stloc:PaintingEntry(var_89_1AE, call:PaintingEntry(WorldGen::RandBonePicture))
6446 stloc:bool(var_90_1B7, call:bool(WorldGen::nearPicture, ldloc:int32(var_1), ldloc:int32(var_3)))
6447 stloc:bool(var_94_1C3, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_93)))
6448 stloc:bool(var_96_1CC, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_95)))
6449 stloc:bool(var_98_1D5, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_97)))
6450 stloc:bool(var_100_1DE, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_99)))
6451 stloc:bool(var_102_1E7, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_101)))
6452 stloc:bool(var_104_1F0, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_103)))
6453 stloc:PaintingEntry(var_105_1F7, call:PaintingEntry(WorldGen::RandPictureTile))
6454 stloc:uint16(var_107_200, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_106)))
6455 stloc:PaintingEntry(var_108_207, call:PaintingEntry(WorldGen::RandBonePicture))
6456 stloc:bool(var_109_210, call:bool(WorldGen::nearPicture, ldloc:int32(var_1), ldloc:int32(var_3)))
6457 stloc:PaintingEntry(var_111_217, call:PaintingEntry(WorldGen::RandPictureTile))
6458 stloc:uint16(var_113_220, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_112)))
6459 stloc:PaintingEntry(var_114_227, call:PaintingEntry(WorldGen::RandBonePicture))
6460 stloc:bool(var_116_230, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_115)))
6461 stloc:bool(var_120_23C, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_119)))
6462 stloc:bool(var_122_245, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_121)))
6463 stloc:bool(var_124_24E, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_123)))
6464 stloc:bool(var_126_257, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_125)))
6465 stloc:bool(var_128_260, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_127)))
6466 stloc:bool(var_130_269, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_129)))
6467 stloc:PaintingEntry(var_131_270, call:PaintingEntry(WorldGen::RandPictureTile))
6468 stloc:uint16(var_133_279, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_132)))
6469 stloc:PaintingEntry(var_134_280, call:PaintingEntry(WorldGen::RandBonePicture))
6470 stloc:bool(var_135_289, call:bool(WorldGen::nearPicture, ldloc:int32(var_1), ldloc:int32(var_3)))
6471 stloc:bool(var_139_295, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_138)))
6472 stloc:bool(var_141_29E, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_140)))
6473 stloc:bool(var_143_2A7, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_142)))
6474 stloc:bool(var_145_2B0, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_144)))
6475 stloc:bool(var_147_2B9, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_146)))
6476 stloc:bool(var_149_2C2, call:bool(Tile::active, ldloc:Tile[exp:valuetype Terraria.Tile&](var_148)))
6477 stloc:PaintingEntry(var_150_2C9, call:PaintingEntry(WorldGen::RandPictureTile))
6478 stloc:uint16(var_152_2D2, callgetter:uint16(Tile::get_wall, ldloc:Tile[exp:valuetype Terraria.Tile&](var_151)))
6479 stloc:PaintingEntry(var_153_2D9, call:PaintingEntry(WorldGen::RandBonePicture))
6480 stloc:bool(var_154_2E2, call:bool(WorldGen::nearPicture, ldloc:int32(var_1), ldloc:int32(var_3)))
6481}
6482
6483 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
6484 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
6485 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
6486 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
6487 --- End of inner exception stack trace ---
6488 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
6489 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
6490*/;
6491 }