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
SetCompressionCallback.cs
Go to the documentation of this file.
1using System;
3using Ionic.Zlib;
4
5namespace Ionic.Zip
6{
7 // Token: 0x02000007 RID: 7
9 {
10 // Token: 0x06000011 RID: 17 RVA: 0x00002240 File Offset: 0x00000440
11 public SetCompressionCallback(object @object, IntPtr method)
12 {
14 this.m_target = @object;
16 this.method_code = this;
17 }
18
19 // Token: 0x06000012 RID: 18 RVA: 0x00002294 File Offset: 0x00000494
21 {
22 /*
23An exception occurred when decompiling this method (06000012)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling Ionic.Zlib.CompressionLevel Ionic.Zip.SetCompressionCallback::Invoke(System.String,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:SetCompressionCallback[exp:Delegate](this)))
31 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:SetCompressionCallback[exp:Delegate](this)))
32 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:SetCompressionCallback[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: 0x06000013 RID: 19 RVA: 0x00002122 File Offset: 0x00000322
46 public IAsyncResult BeginInvoke(string localFileName, string fileNameInArchive, AsyncCallback callback, object @object)
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x06000014 RID: 20 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
SetCompressionCallback(object @object, IntPtr method)
IAsyncResult BeginInvoke(string localFileName, string fileNameInArchive, AsyncCallback callback, object @object)
CompressionLevel EndInvoke(IAsyncResult result)
CompressionLevel Invoke(string localFileName, string fileNameInArchive)