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

◆ ItemCacheCreate()

List< Tuple< Point, Item > > Terraria.GameContent.UI.CustomCurrencySystem.ItemCacheCreate ( List< Item[]> inventories)
inlineprotected

Definition at line 101 of file CustomCurrencySystem.cs.

102 {
103 /*
104An exception occurred when decompiling this method (06004E60)
105
106ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.List`1<System.Tuple`2<Microsoft.Xna.Framework.Point,Terraria.Item>> Terraria.GameContent.UI.CustomCurrencySystem::ItemCacheCreate(System.Collections.Generic.List`1<Terraria.Item[]>)
107
108 ---> System.Exception: Basic block has to end with unconditional control flow.
109{
110 Block_0:
111 stloc:int32(var_0_06, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.Item[]>[exp:List`1](inventories)))
112 stloc:int32(var_2_0F, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.Item[]>[exp:List`1](inventories)))
113 stloc:int32(var_5_18, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class Terraria.Item[]>[exp:List`1](inventories)))
114}
115
116 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
117 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
118 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
119 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
120 --- End of inner exception stack trace ---
121 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
122 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
123*/;
124 }