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
ZipContainer.cs
Go to the documentation of this file.
1using System;
3using System.IO;
4using System.Text;
7using Ionic.Crc;
8using Ionic.Zlib;
9
10namespace Ionic.Zip
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000031")]
13 internal class ZipContainer
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6000275")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1A5FA94", Offset = "0x1A5FA94", Length = "0x130")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadDirEntry", MemberParameters = new object[]
19 {
22 }, ReturnType = typeof(ZipEntry))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "_InternalAddEntry", MemberParameters = new object[] { typeof(ZipEntry) }, ReturnType = typeof(ZipEntry))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "AddDirectoryByName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ZipEntry))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "AddOrUpdateDirectoryImpl", MemberParameters = new object[]
26 {
27 typeof(string),
28 typeof(string),
30 typeof(bool),
31 typeof(int)
32 }, ReturnType = typeof(ZipEntry))]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "ReadIntoInstance_Orig", MemberParameters = new object[] { typeof(ZipFile) }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "Save", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipInputStream), Member = "_Init", MemberParameters = new object[]
36 {
38 typeof(bool),
39 typeof(string)
40 }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutputStream), Member = "PutNextEntry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ZipEntry))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutputStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
46 public ZipContainer(object o)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x170000A2")]
53 {
54 [global::Cpp2ILInjected.Token(Token = "0x6000276")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1A6137C", Offset = "0x1A6137C", Length = "0x8")]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 get
58 {
59 throw null;
60 }
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x170000A3")]
65 {
66 [global::Cpp2ILInjected.Token(Token = "0x6000277")]
67 [global::Cpp2ILInjected.Address(RVA = "0x1A61384", Offset = "0x1A61384", Length = "0x8")]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 get
70 {
71 throw null;
72 }
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x170000A4")]
76 public string Name
77 {
78 [global::Cpp2ILInjected.Token(Token = "0x6000278")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1A6138C", Offset = "0x1A6138C", Length = "0x64")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
83 get
84 {
85 throw null;
86 }
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x170000A5")]
90 public string Password
91 {
92 [global::Cpp2ILInjected.Token(Token = "0x6000279")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1A613F0", Offset = "0x1A613F0", Length = "0x30")]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "OpenReader", ReturnType = typeof(CrcCalculatorStream))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "InternalExtract", MemberParameters = new object[]
96 {
97 typeof(string),
99 typeof(string)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "SetInputAndFigureFileLength", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(long))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "WriteSecurityMetadata", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
104 get
105 {
106 throw null;
107 }
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x170000A6")]
112 {
113 [global::Cpp2ILInjected.Token(Token = "0x600027A")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1A61420", Offset = "0x1A61420", Length = "0x64")]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "WriteCentralDirectoryEntry", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ConstructExtraField", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(byte[]))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "WriteHeader", MemberParameters = new object[]
118 {
119 typeof(Stream),
120 typeof(int)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "SetZip64Flags", ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "Write", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughOneEntry", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
128 get
129 {
130 throw null;
131 }
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x170000A7")]
135 public int BufferSize
136 {
137 [global::Cpp2ILInjected.Token(Token = "0x600027B")]
138 [global::Cpp2ILInjected.Address(RVA = "0x1A61484", Offset = "0x1A61484", Length = "0x5C")]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "get_BufferSize", ReturnType = typeof(int))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ExtractOne", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(int))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_WriteEntryData", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughWithRecompute", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughWithNoChange", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
147 get
148 {
149 throw null;
150 }
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x170000A8")]
155 {
156 [global::Cpp2ILInjected.Token(Token = "0x600027C")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1A614E0", Offset = "0x1A614E0", Length = "0x30")]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "MaybeApplyCompression", MemberParameters = new object[]
159 {
160 typeof(Stream),
161 typeof(long)
162 }, ReturnType = typeof(Stream))]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
164 get
165 {
166 throw null;
167 }
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x170000A9")]
172 {
173 [global::Cpp2ILInjected.Token(Token = "0x600027D")]
174 [global::Cpp2ILInjected.Address(RVA = "0x1A61510", Offset = "0x1A61510", Length = "0x20")]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "MaybeApplyCompression", MemberParameters = new object[]
176 {
177 typeof(Stream),
178 typeof(long)
179 }, ReturnType = typeof(Stream))]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
181 get
182 {
183 throw null;
184 }
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x170000AA")]
189 {
190 [global::Cpp2ILInjected.Token(Token = "0x600027E")]
191 [global::Cpp2ILInjected.Address(RVA = "0x1A61530", Offset = "0x1A61530", Length = "0x20")]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughOneEntry", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughWithRecompute", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
195 get
196 {
197 throw null;
198 }
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x170000AB")]
203 {
204 [global::Cpp2ILInjected.Token(Token = "0x600027F")]
205 [global::Cpp2ILInjected.Address(RVA = "0x1A5F778", Offset = "0x1A5F778", Length = "0x2C")]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadEntry", MemberParameters = new object[]
207 {
209 typeof(bool)
210 }, ReturnType = typeof(ZipEntry))]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
212 get
213 {
214 throw null;
215 }
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x170000AC")]
220 {
221 [global::Cpp2ILInjected.Token(Token = "0x6000280")]
222 [global::Cpp2ILInjected.Address(RVA = "0x1A5F7A4", Offset = "0x1A5F7A4", Length = "0xB0")]
223 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "GetEncoding", MemberParameters = new object[]
224 {
226 typeof(string)
227 }, ReturnType = typeof(Encoding))]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipOutputStream), Member = "get_DefaultEncoding", ReturnType = typeof(Encoding))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
231 get
232 {
233 throw null;
234 }
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x170000AD")]
239 {
240 [global::Cpp2ILInjected.Token(Token = "0x6000281")]
241 [global::Cpp2ILInjected.Address(RVA = "0x1A5F750", Offset = "0x1A5F750", Length = "0x28")]
242 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
243 get
244 {
245 throw null;
246 }
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x170000AE")]
251 {
252 [global::Cpp2ILInjected.Token(Token = "0x6000282")]
253 [global::Cpp2ILInjected.Address(RVA = "0x1A61550", Offset = "0x1A61550", Length = "0x20")]
254 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadEntry", MemberParameters = new object[]
255 {
257 typeof(bool)
258 }, ReturnType = typeof(ZipEntry))]
259 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipFile), Member = "get_ReadStream", ReturnType = typeof(Stream))]
261 get
262 {
263 throw null;
264 }
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x4000139")]
268 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
269 private ZipFile _zf;
270
271 [global::Cpp2ILInjected.Token(Token = "0x400013A")]
272 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
274
275 [global::Cpp2ILInjected.Token(Token = "0x400013B")]
276 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
278 }
279}
class f__AnonymousType0<< Count > j__TPar
ZipOutputStream _zos
CompressionStrategy Strategy
ZipOption AlternateEncodingUsage
Zip64Option UseZip64WhenSaving