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
UnknownDeviceBindingSourceListener.cs
Go to the documentation of this file.
1using System;
2
3namespace InControl
4{
5 // Token: 0x02000016 RID: 22
7 {
8 // Token: 0x06000107 RID: 263 RVA: 0x000040B8 File Offset: 0x000022B8
9 public void Reset()
10 {
11 if (!true)
12 {
13 }
16 }
17
18 // Token: 0x06000108 RID: 264 RVA: 0x000040DC File Offset: 0x000022DC
20 {
21 int num = 1;
22 if (num == 0)
23 {
24 }
25 if (num == 0)
26 {
27 }
28 }
29
30 // Token: 0x06000109 RID: 265 RVA: 0x000040F4 File Offset: 0x000022F4
32 {
33 /*
34An exception occurred when decompiling this method (06000109)
35
36ICSharpCode.Decompiler.DecompilerException: Error decompiling InControl.BindingSource InControl.UnknownDeviceBindingSourceListener::Listen(InControl.BindingListenOptions,InControl.InputDevice)
37
38 ---> System.Exception: Basic block has to end with unconditional control flow.
39{
40 IL_0076:
41 stfld:DetectPhase(UnknownDeviceBindingSourceListener::detectPhase, ldloc:UnknownDeviceBindingSourceListener(this), ldc.i4:DetectPhase(1))
42}
43
44 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
45 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
46 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
47 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
48 --- End of inner exception stack trace ---
49 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
50 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
51*/;
52 }
53
54 // Token: 0x0600010A RID: 266 RVA: 0x00004180 File Offset: 0x00002380
55 private bool IsPressed(UnknownDeviceControl control, InputDevice device)
56 {
57 if (!true)
58 {
59 }
60 bool flag;
61 return flag;
62 }
63
64 // Token: 0x0600010B RID: 267 RVA: 0x00004194 File Offset: 0x00002394
78
79 // Token: 0x0600010C RID: 268 RVA: 0x000041BC File Offset: 0x000023BC
83
84 // Token: 0x04000104 RID: 260
86
87 // Token: 0x04000105 RID: 261
89
90 // Token: 0x02000017 RID: 23
91 private enum DetectPhase
92 {
93 // Token: 0x04000107 RID: 263
95 // Token: 0x04000108 RID: 264
97 // Token: 0x04000109 RID: 265
99 }
100 }
101}
class f__AnonymousType0<< Count > j__TPar
UnknownDeviceControl GetFirstPressedAnalog()
UnknownDeviceControl GetFirstPressedButton()
BindingSource Listen(BindingListenOptions listenOptions, InputDevice device)
bool IsPressed(UnknownDeviceControl control, InputDevice device)
UnknownDeviceControl ListenForControl(BindingListenOptions listenOptions, InputDevice device)
UnknownDeviceBindingSourceListener.DetectPhase detectPhase