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

◆ CanSpawn()

bool GUIInterfaceEdit.CanSpawn ( List< GUIPageIconGrouping > groups,
List< GUIPageIconGrouping > otherGroups,
bool left,
[Out] Microsoft::Xna::Framework::Vector2 position )
inlineprivate

Definition at line 49 of file GUIInterfaceEdit.cs.

50 {
51 /*
52An exception occurred when decompiling this method (06000D7F)
53
54ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIInterfaceEdit::CanSpawn(System.Collections.Generic.List`1<GUIPageIconGrouping>,System.Collections.Generic.List`1<GUIPageIconGrouping>,System.Boolean,Microsoft.Xna.Framework.Vector2)
55
56 ---> System.Exception: Basic block has to end with unconditional control flow.
57{
58 IL_0006:
59 stloc:int32(var_0_0C, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](groups)))
60 stloc:int32(var_2_13, callgetter:int32(Rectangle::get_Bottom, ldloc:Rectangle[exp:valuetype Microsoft.Xna.Framework.Rectangle&](var_1)))
61 stloc:int32(var_3_1A, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](groups)))
62 stloc:int32(var_5_22, callgetter:int32(Rectangle::get_Bottom, ldloc:Rectangle[exp:valuetype Microsoft.Xna.Framework.Rectangle&](var_4)))
63 stloc:int32(var_9_2D, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](otherGroups)))
64 stloc:int32(var_13_38, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](otherGroups)))
65 stloc:int32(var_15_43, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](groups)))
66 stloc:int32(var_18_4F, callgetter:int32(Rectangle::get_Bottom, ldloc:Rectangle[exp:valuetype Microsoft.Xna.Framework.Rectangle&](var_17)))
67 stloc:int32(var_20_57, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](groups)))
68}
69
70 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
71 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
72 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
73 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
74 --- End of inner exception stack trace ---
75 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
76 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
77*/;
78 }