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
DeadZoneFunc.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
5namespace InControl
6{
7 // Token: 0x0200001B RID: 27
8 public sealed class DeadZoneFunc : MulticastDelegate
9 {
10 // Token: 0x06000124 RID: 292 RVA: 0x00004534 File Offset: 0x00002734
11 public DeadZoneFunc(object @object, IntPtr method)
12 {
14 this.m_target = @object;
16 this.method_code = this;
17 }
18
19 // Token: 0x06000125 RID: 293 RVA: 0x00004588 File Offset: 0x00002788
20 public Vector2 Invoke(float x, float y, float lowerDeadZone, float upperDeadZone)
21 {
22 /*
23An exception occurred when decompiling this method (06000125)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector2 InControl.DeadZoneFunc::Invoke(System.Single,System.Single,System.Single,System.Single)
26
27 ---> System.Exception: Basic block has to end with unconditional control flow.
28{
29 Block_0:
30 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:DeadZoneFunc[exp:Delegate](this)))
31 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:DeadZoneFunc[exp:Delegate](this)))
32 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:DeadZoneFunc[exp:Delegate](this)))
33}
34
35 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
36 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
37 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
38 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
39 --- End of inner exception stack trace ---
40 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
41 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
42*/;
43 }
44
45 // Token: 0x06000126 RID: 294 RVA: 0x000025E1 File Offset: 0x000007E1
46 public IAsyncResult BeginInvoke(float x, float y, float lowerDeadZone, float upperDeadZone, AsyncCallback callback, object @object)
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x06000127 RID: 295 RVA: 0x000045AC File Offset: 0x000027AC
53 {
54 Vector2 vector;
55 return vector;
56 }
57 }
58}
class f__AnonymousType0<< Count > j__TPar
DeadZoneFunc(object @object, IntPtr method)
IAsyncResult BeginInvoke(float x, float y, float lowerDeadZone, float upperDeadZone, AsyncCallback callback, object @object)
Vector2 Invoke(float x, float y, float lowerDeadZone, float upperDeadZone)
Vector2 EndInvoke(IAsyncResult result)