terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ZipOutput.cs
Go to the documentation of this file.
1using System;
3using System.IO;
4using System.Text;
7
8namespace Ionic.Zip
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200002E")]
11 internal static class ZipOutput
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000222")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1A5E6B0", Offset = "0x1A5E6B0", Length = "0x858")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "Save", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutputStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipEntry), Member = "get_IncludedInMostRecentSave", ReturnType = typeof(bool))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipEntry), Member = "WriteCentralDirectoryEntry", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipOutput), Member = "CountEntries", MemberParameters = new object[] { typeof(ICollection<ZipEntry>) }, ReturnType = typeof(int))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipOutput), Member = "GenZip64EndOfCentralDirectory", MemberParameters = new object[]
24 {
25 typeof(long),
26 typeof(long),
27 typeof(int),
28 typeof(uint)
29 }, ReturnType = typeof(byte[]))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipOutput), Member = "GenCentralDirectoryFooter", MemberParameters = new object[]
31 {
32 typeof(long),
33 typeof(long),
35 typeof(int),
36 typeof(string),
38 }, ReturnType = typeof(byte[]))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(byte[]))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
41 {
43 typeof(int),
45 typeof(int),
46 typeof(int)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(ushort) }, ReturnType = typeof(byte[]))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CountingStream), Member = "get_ComputedPosition", ReturnType = typeof(long))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 33)]
52 public static bool WriteCentralDirectoryStructure(Stream s, ICollection<ZipEntry> entries, uint numSegments, Zip64Option zip64, string comment, ZipContainer container)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6000223")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1A5F678", Offset = "0x1A5F678", Length = "0xD8")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "GenCentralDirectoryFooter", MemberParameters = new object[]
61 {
62 typeof(long),
63 typeof(long),
65 typeof(int),
66 typeof(string),
68 }, ReturnType = typeof(byte[]))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipContainer), Member = "get_DefaultEncoding", ReturnType = typeof(Encoding))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Equals", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
72 private static Encoding GetEncoding(ZipContainer container, string t)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x6000224")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1A5F414", Offset = "0x1A5F414", Length = "0x220")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "WriteCentralDirectoryStructure", MemberParameters = new object[]
81 {
84 typeof(uint),
86 typeof(string),
88 }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipOutput), Member = "GetEncoding", MemberParameters = new object[]
91 {
92 typeof(ZipContainer),
93 typeof(string)
94 }, ReturnType = typeof(Encoding))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(byte[]))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
97 {
99 typeof(int),
100 typeof(Array),
101 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
105 private static byte[] GenCentralDirectoryFooter(long StartOfCentralDirectory, long EndOfCentralDirectory, Zip64Option zip64, int entryCount, string comment, ZipContainer container)
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x6000225")]
111 [global::Cpp2ILInjected.Address(RVA = "0x1A5F1CC", Offset = "0x1A5F1CC", Length = "0x248")]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "WriteCentralDirectoryStructure", MemberParameters = new object[]
114 {
115 typeof(Stream),
117 typeof(uint),
119 typeof(string),
121 }, ReturnType = typeof(bool))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(byte[]))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
125 {
126 typeof(Array),
127 typeof(int),
128 typeof(Array),
129 typeof(int),
130 typeof(int)
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte[]))]
133 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x6000226")]
140 [global::Cpp2ILInjected.Address(RVA = "0x1A5EF08", Offset = "0x1A5EF08", Length = "0x2C4")]
141 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "WriteCentralDirectoryStructure", MemberParameters = new object[]
143 {
144 typeof(Stream),
146 typeof(uint),
148 typeof(string),
150 }, ReturnType = typeof(bool))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipEntry), Member = "get_IncludedInMostRecentSave", ReturnType = typeof(bool))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
154 private static int CountEntries(ICollection<ZipEntry> _entries)
155 {
156 throw null;
157 }
158 }
159}
class f__AnonymousType0<< Count > j__TPar
static byte[] GenCentralDirectoryFooter(long StartOfCentralDirectory, long EndOfCentralDirectory, Zip64Option zip64, int entryCount, string comment, ZipContainer container)
Definition ZipOutput.cs:105
static Encoding GetEncoding(ZipContainer container, string t)
Definition ZipOutput.cs:72
static bool WriteCentralDirectoryStructure(Stream s, ICollection< ZipEntry > entries, uint numSegments, Zip64Option zip64, string comment, ZipContainer container)
Definition ZipOutput.cs:52
static byte[] GenZip64EndOfCentralDirectory(long StartOfCentralDirectory, long EndOfCentralDirectory, int entryCount, uint numSegments)
Definition ZipOutput.cs:134
static int CountEntries(ICollection< ZipEntry > _entries)
Definition ZipOutput.cs:154