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

◆ GetItemDeadZone()

float VirtualControllerInputState.GetItemDeadZone ( Item item)
inline

Definition at line 85 of file VirtualControllerInputState.cs.

86 {
87 /*
88An exception occurred when decompiling this method (06000AE9)
89
90ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single VirtualControllerInputState::GetItemDeadZone(Terraria.Item)
91
92 ---> System.Exception: Basic block has to end with unconditional control flow.
93{
94 IL_000A:
95 stloc:Category(var_1_10, call:Category(VirtualControllerInputState::GetItemCategory, ldloc:int32(var_0_06)))
96 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(var_2_17, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(VirtualControllerInputState::NoFireDeadZoneState, ldloc:VirtualControllerInputState(this)))
97 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, bool>(var_4_1E, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, bool>(VirtualControllerInputState::SmartCursorState, ldloc:VirtualControllerInputState(this)))
98 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, bool>(var_5_26, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, bool>(VirtualControllerInputState::AimAndUseState, ldloc:VirtualControllerInputState(this)))
99 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(var_6_2E, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(VirtualControllerInputState::NoFireDeadZoneState, ldloc:VirtualControllerInputState(this)))
100 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(var_7_36, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype VirtualControllerInputState/Category, float32>(VirtualControllerInputState::NoFireDeadZoneState, ldloc:VirtualControllerInputState(this)))
101}
102
103 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
104 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
105 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
106 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
107 --- End of inner exception stack trace ---
108 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
109 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
110*/;
111 }