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
OpenDelegate.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4
5namespace Ionic.Zip
6{
7 // Token: 0x02000005 RID: 5
8 public sealed class OpenDelegate : MulticastDelegate
9 {
10 // Token: 0x06000009 RID: 9 RVA: 0x00002140 File Offset: 0x00000340
11 public OpenDelegate(object @object, IntPtr method)
12 {
14 this.m_target = @object;
16 this.method_code = this;
17 }
18
19 // Token: 0x0600000A RID: 10 RVA: 0x00002194 File Offset: 0x00000394
20 public Stream Invoke(string entryName)
21 {
22 /*
23An exception occurred when decompiling this method (0600000A)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream Ionic.Zip.OpenDelegate::Invoke(System.String)
26
27 ---> System.Exception: Basic block has to end with unconditional control flow.
28{
29 Block_0:
30 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:OpenDelegate[exp:Delegate](this)))
31 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:OpenDelegate[exp:Delegate](this)))
32 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:OpenDelegate[exp:Delegate](this)))
33}
34
35 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
36 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
37 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
38 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
39 --- End of inner exception stack trace ---
40 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
41 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
42*/;
43 }
44
45 // Token: 0x0600000B RID: 11 RVA: 0x00002122 File Offset: 0x00000322
46 public IAsyncResult BeginInvoke(string entryName, AsyncCallback callback, object @object)
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x0600000C RID: 12 RVA: 0x00002122 File Offset: 0x00000322
53 {
54 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56 }
57}
class f__AnonymousType0<< Count > j__TPar
IAsyncResult BeginInvoke(string entryName, AsyncCallback callback, object @object)
Stream Invoke(string entryName)
Stream EndInvoke(IAsyncResult result)
OpenDelegate(object @object, IntPtr method)