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
TooltipProcessor.cs
Go to the documentation of this file.
1using System;
3
4namespace Terraria.UI
5{
6 // Token: 0x02000711 RID: 1809
7 public sealed class TooltipProcessor : MulticastDelegate
8 {
9 // Token: 0x06003BED RID: 15341 RVA: 0x0023542C File Offset: 0x0023362C
10 public TooltipProcessor(object @object, IntPtr method)
11 {
13 this.m_target = @object;
15 this.method_code = this;
16 }
17
18 // Token: 0x06003BEE RID: 15342 RVA: 0x00235480 File Offset: 0x00233680
19 public string Invoke(short tooltipId, string tooltip)
20 {
21 /*
22An exception occurred when decompiling this method (06003BEE)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.UI.TooltipProcessor::Invoke(System.Int16,System.String)
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:TooltipProcessor[exp:Delegate](this)))
30 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:TooltipProcessor[exp:Delegate](this)))
31 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:TooltipProcessor[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: 0x06003BEF RID: 15343 RVA: 0x000021DB File Offset: 0x000003DB
45 public IAsyncResult BeginInvoke(short tooltipId, string tooltip, AsyncCallback callback, object @object)
46 {
47 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
48 }
49
50 // Token: 0x06003BF0 RID: 15344 RVA: 0x000021DB File Offset: 0x000003DB
51 public string 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
TooltipProcessor(object @object, IntPtr method)
string Invoke(short tooltipId, string tooltip)
string EndInvoke(IAsyncResult result)
IAsyncResult BeginInvoke(short tooltipId, string tooltip, AsyncCallback callback, object @object)