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
GamePadTriggers.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000348 RID: 840
8 public struct GamePadTriggers
9 {
10 // Token: 0x17000252 RID: 594
11 // (get) Token: 0x06001583 RID: 5507 RVA: 0x000021DB File Offset: 0x000003DB
12 // (set) Token: 0x06001584 RID: 5508 RVA: 0x00060A48 File Offset: 0x0005EC48
13 public float Left
14 {
16 readonly get
17 {
18 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
19 }
21 private set
22 {
23 }
24 }
25
26 // Token: 0x17000253 RID: 595
27 // (get) Token: 0x06001585 RID: 5509 RVA: 0x00060A58 File Offset: 0x0005EC58
28 // (set) Token: 0x06001586 RID: 5510 RVA: 0x00060A6C File Offset: 0x0005EC6C
29 public float Right
30 {
32 readonly get
33 {
34 /*
35An exception occurred when decompiling this method (06001585)
36
37ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Input.GamePadTriggers::get_Right()
38
39 ---> System.Exception: Basic block has to end with unconditional control flow.
40{
41 Block_0:
42 stloc:float32(var_0_06, ldfld:float32(GamePadTriggers::<Right>k__BackingField, ldloc:valuetype Microsoft.Xna.Framework.Input.GamePadTriggers&(this)))
43}
44
45 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
46 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
47 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
48 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
49 --- End of inner exception stack trace ---
50 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
51 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
52*/;
53 }
55 private set
56 {
57 }
58 }
59
60 // Token: 0x06001587 RID: 5511 RVA: 0x00060A7C File Offset: 0x0005EC7C
62 {
63 }
64
65 // Token: 0x06001588 RID: 5512 RVA: 0x000021DB File Offset: 0x000003DB
66 public static bool operator ==(GamePadTriggers left, GamePadTriggers right)
67 {
68 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
69 }
70
71 // Token: 0x06001589 RID: 5513 RVA: 0x000021DB File Offset: 0x000003DB
72 public static bool operator !=(GamePadTriggers left, GamePadTriggers right)
73 {
74 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
75 }
76
77 // Token: 0x0600158A RID: 5514 RVA: 0x00060A90 File Offset: 0x0005EC90
78 public override bool Equals(object obj)
79 {
80 /*
81An exception occurred when decompiling this method (0600158A)
82
83ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Input.GamePadTriggers::Equals(System.Object)
84
85 ---> System.Exception: Basic block has to end with unconditional control flow.
86{
87 IL_0003:
88 stloc:float32(var_1_0B, ldfld:float32(GamePadTriggers::<Left>k__BackingField, ldloc:valuetype Microsoft.Xna.Framework.Input.GamePadTriggers&(this)))
89 stloc:float32(var_2_12, ldfld:float32(GamePadTriggers::<Right>k__BackingField, ldloc:valuetype Microsoft.Xna.Framework.Input.GamePadTriggers&(this)))
90}
91
92 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
93 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
94 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
95 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
96 --- End of inner exception stack trace ---
97 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
98 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
99*/;
100 }
101
102 // Token: 0x0600158B RID: 5515 RVA: 0x00060AB0 File Offset: 0x0005ECB0
103 public override int GetHashCode()
104 {
105 int num;
106 return num;
107 }
108
109 // Token: 0x0600158C RID: 5516 RVA: 0x00060AC0 File Offset: 0x0005ECC0
110 public override string ToString()
111 {
112 string text;
113 if (("[GamePadTriggers: Left=" == null || "[GamePadTriggers: Left=" != null) && (text == null || text != null) && (", Right=" == null || ", Right=" != null))
114 {
115 float num = this.<Right>k__BackingField;
116 string text2;
117 if ((text2 == null || text2 != null) && ("]" == null || "]" != null))
118 {
119 string text3;
120 return text3;
121 }
122 }
123 throw new ArrayTypeMismatchException();
124 }
125
126 // Token: 0x04002313 RID: 8979
128 private float <Left>k__BackingField;
129
130 // Token: 0x04002314 RID: 8980
132 private float <Right>k__BackingField;
133 }
134}
class f__AnonymousType0<< Count > j__TPar
GamePadTriggers(float leftTrigger, float rightTrigger)
static bool operator==(GamePadTriggers left, GamePadTriggers right)
static bool operator!=(GamePadTriggers left, GamePadTriggers right)