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
GUIInputRegionExclusive.cs
Go to the documentation of this file.
1using System;
4
5// Token: 0x0200017C RID: 380
7{
8 // Token: 0x06000ACB RID: 2763 RVA: 0x00036FD0 File Offset: 0x000351D0
13
14 // Token: 0x06000ACC RID: 2764 RVA: 0x00036FEC File Offset: 0x000351EC
15 public bool Over(int x, int y)
16 {
17 if (this.Active)
18 {
20 IntPtr invoke_impl = isOverHandler.invoke_impl;
21 IntPtr method_code = isOverHandler.method_code;
22 IntPtr method = isOverHandler.method;
23 return;
24 }
25 }
26
27 // Token: 0x04000B29 RID: 2857
29
30 // Token: 0x04000B2A RID: 2858
31 public bool Active;
32
33 // Token: 0x0200017D RID: 381
34 public sealed class IsOverHandler : MulticastDelegate
35 {
36 // Token: 0x06000ACD RID: 2765 RVA: 0x00037020 File Offset: 0x00035220
37 public IsOverHandler(object @object, IntPtr method)
38 {
40 this.m_target = @object;
42 this.method_code = this;
43 }
44
45 // Token: 0x06000ACE RID: 2766 RVA: 0x00037074 File Offset: 0x00035274
47 {
48 /*
49An exception occurred when decompiling this method (06000ACE)
50
51ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIInputRegionExclusive/IsOverHandler::Invoke(Microsoft.Xna.Framework.Vector2)
52
53 ---> System.Exception: Basic block has to end with unconditional control flow.
54{
55 Block_0:
56 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:IsOverHandler[exp:Delegate](this)))
57 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:IsOverHandler[exp:Delegate](this)))
58 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:IsOverHandler[exp:Delegate](this)))
59}
60
61 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
62 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
63 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
64 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
65 --- End of inner exception stack trace ---
66 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
67 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
68*/;
69 }
70
71 // Token: 0x06000ACF RID: 2767 RVA: 0x000021DB File Offset: 0x000003DB
73 {
74 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
75 }
76
77 // Token: 0x06000AD0 RID: 2768 RVA: 0x000021DB File Offset: 0x000003DB
78 public bool EndInvoke(IAsyncResult result)
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82 }
83}
class f__AnonymousType0<< Count > j__TPar
IAsyncResult BeginInvoke(Vector2 cursorPosition, AsyncCallback callback, object @object)
IsOverHandler(object @object, IntPtr method)
readonly GUIInputRegionExclusive.IsOverHandler isOver
GUIInputRegionExclusive(GUIInputRegionExclusive.IsOverHandler handler)