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
GameInterfaceDrawMethod.cs
Go to the documentation of this file.
1using System;
3
4namespace Terraria.UI
5{
6 // Token: 0x02000713 RID: 1811
8 {
9 // Token: 0x06003BFC RID: 15356 RVA: 0x002355C8 File Offset: 0x002337C8
10 public GameInterfaceDrawMethod(object @object, IntPtr method)
11 {
13 this.m_target = @object;
15 this.method_code = this;
16 }
17
18 // Token: 0x06003BFD RID: 15357 RVA: 0x0023561C File Offset: 0x0023381C
19 public bool Invoke()
20 {
21 /*
22An exception occurred when decompiling this method (06003BFD)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.UI.GameInterfaceDrawMethod::Invoke()
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 Block_0:
29 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:GameInterfaceDrawMethod[exp:Delegate](this)))
30 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GameInterfaceDrawMethod[exp:Delegate](this)))
31 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:GameInterfaceDrawMethod[exp:Delegate](this)))
32}
33
34 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
35 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
36 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
37 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
38 --- End of inner exception stack trace ---
39 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
40 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
41*/;
42 }
43
44 // Token: 0x06003BFE RID: 15358 RVA: 0x000021DB File Offset: 0x000003DB
45 public IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
46 {
47 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
48 }
49
50 // Token: 0x06003BFF RID: 15359 RVA: 0x000021DB File Offset: 0x000003DB
51 public bool EndInvoke(IAsyncResult result)
52 {
53 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
54 }
55 }
56}
class f__AnonymousType0<< Count > j__TPar
GameInterfaceDrawMethod(object @object, IntPtr method)
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)