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
SharedUtilities.cs
Go to the documentation of this file.
1using System;
4using System.IO;
6using System.Text;
10
11namespace Ionic.Zip
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000017")]
14 internal static class SharedUtilities
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6000065")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1A45BF4", Offset = "0x1A45BF4", Length = "0x1D8")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "MaybeUnsetCompressionMethodForWriting", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "get_LengthOfReadStream", ReturnType = typeof(long))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Open", MemberParameters = new object[]
24 {
25 typeof(string),
29 }, ReturnType = typeof(FileStream))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
32 public static long GetFileLength(string fileName)
33 {
34 throw null;
35 }
36
37 [Conditional("NETCF")]
38 [global::Cpp2ILInjected.Token(Token = "0x6000066")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1A45DCC", Offset = "0x1A45DCC", Length = "0x10")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipInputStream), Member = "Read", MemberParameters = new object[]
41 {
42 typeof(byte[]),
43 typeof(int),
44 typeof(int)
45 }, ReturnType = typeof(int))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipInputStream), Member = "GetNextEntry", ReturnType = typeof(ZipEntry))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipInputStream), Member = "Seek", MemberParameters = new object[]
48 {
49 typeof(long),
51 }, ReturnType = typeof(long))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipSegmentedStream), Member = "TruncateBackward", MemberParameters = new object[]
53 {
54 typeof(uint),
55 typeof(long)
56 }, ReturnType = typeof(long))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipSegmentedStream), Member = "Seek", MemberParameters = new object[]
58 {
59 typeof(long),
61 }, ReturnType = typeof(long))]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
64 public static void Workaround_Ladybug318918(Stream s)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6000067")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1A45DDC", Offset = "0x1A45DDC", Length = "0x104")]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "NormalizePathForUseInZipFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
76 {
77 typeof(string),
78 typeof(string)
79 }, ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Replace", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(string)
84 }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
86 private static string SimplifyFwdSlashPath(string path)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6000068")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1A45EE0", Offset = "0x1A45EE0", Length = "0x11C")]
93 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "NameInArchive", MemberParameters = new object[]
95 {
96 typeof(string),
97 typeof(string)
98 }, ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "Create", MemberParameters = new object[]
100 {
101 typeof(string),
102 typeof(ZipEntrySource),
103 typeof(object),
104 typeof(object)
105 }, ReturnType = typeof(ZipEntry))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "ContainsEntry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "get_Item", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ZipEntry))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "RemoveEntry", MemberParameters = new object[] { typeof(ZipEntry) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutputStream), Member = "ContainsEntry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
115 {
116 typeof(char),
117 typeof(char)
118 }, ReturnType = typeof(string))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "SimplifyFwdSlashPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
122 public static string NormalizePathForUseInZipFile(string pathName)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x6000069")]
128 [global::Cpp2ILInjected.Address(RVA = "0x1A45FFC", Offset = "0x1A45FFC", Length = "0x1C")]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
131 internal static byte[] StringToByteArray(string value, Encoding encoding)
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x600006A")]
137 [global::Cpp2ILInjected.Address(RVA = "0x1A46018", Offset = "0x1A46018", Length = "0x6C")]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipCrypto), Member = "InitCipher", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
140 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
141 internal static byte[] StringToByteArray(string value)
142 {
143 throw null;
144 }
145
146 [global::Cpp2ILInjected.Token(Token = "0x600006B")]
147 [global::Cpp2ILInjected.Address(RVA = "0x1A46084", Offset = "0x1A46084", Length = "0x74")]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadDirEntry", MemberParameters = new object[]
149 {
152 }, ReturnType = typeof(ZipEntry))]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
155 internal static string Utf8StringFromBuffer(byte[] buf)
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x600006C")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1A460F8", Offset = "0x1A460F8", Length = "0x24")]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
164 internal static string StringFromBuffer(byte[] buf, Encoding encoding)
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x600006D")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1A4611C", Offset = "0x1A4611C", Length = "0xE8")]
171 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "FindSignature", MemberParameters = new object[]
173 {
174 typeof(Stream),
175 typeof(int)
176 }, ReturnType = typeof(long))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadDirEntry", MemberParameters = new object[]
178 {
181 }, ReturnType = typeof(ZipEntry))]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "ReadCentralDirectoryFooter", MemberParameters = new object[] { typeof(ZipFile) }, ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "_ReadFourBytes", MemberParameters = new object[]
185 {
186 typeof(Stream),
187 typeof(string)
188 }, ReturnType = typeof(int))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
190 internal static int ReadSignature(Stream s)
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x600006E")]
196 [global::Cpp2ILInjected.Address(RVA = "0x1A46334", Offset = "0x1A46334", Length = "0x24C")]
197 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadHeader", MemberParameters = new object[]
199 {
202 }, ReturnType = typeof(bool))]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "_ReadFourBytes", MemberParameters = new object[]
205 {
206 typeof(Stream),
207 typeof(string)
208 }, ReturnType = typeof(int))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
210 internal static int ReadEntrySignature(Stream s)
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x600006F")]
216 [global::Cpp2ILInjected.Address(RVA = "0x1A46580", Offset = "0x1A46580", Length = "0x6C")]
217 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "HandlePK00Prefix", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "HandleUnexpectedDataDescriptor", MemberParameters = new object[] { typeof(ZipEntry) }, ReturnType = typeof(void))]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "Zip64SeekToCentralDirectory", MemberParameters = new object[] { typeof(ZipFile) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "ReadFirstFourBytes", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(uint))]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "_ReadFourBytes", MemberParameters = new object[]
223 {
224 typeof(Stream),
225 typeof(string)
226 }, ReturnType = typeof(int))]
227 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
228 internal static int ReadInt(Stream s)
229 {
230 throw null;
231 }
232
233 [global::Cpp2ILInjected.Token(Token = "0x6000070")]
234 [global::Cpp2ILInjected.Address(RVA = "0x1A46204", Offset = "0x1A46204", Length = "0x130")]
235 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "ReadSignature", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(int))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "ReadEntrySignature", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(int))]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "ReadInt", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(int))]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
241 {
242 typeof(string),
243 typeof(object)
244 }, ReturnType = typeof(string))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BadReadException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
247 private static int _ReadFourBytes(Stream s, string message)
248 {
249 throw null;
250 }
251
252 [global::Cpp2ILInjected.Token(Token = "0x6000071")]
253 [global::Cpp2ILInjected.Address(RVA = "0x1A465EC", Offset = "0x1A465EC", Length = "0x238")]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadHeader", MemberParameters = new object[]
256 {
259 }, ReturnType = typeof(bool))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "ReadIntoInstance", MemberParameters = new object[] { typeof(ZipFile) }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipInputStream), Member = "GetNextEntry", ReturnType = typeof(ZipEntry))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "ReadSignature", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(int))]
264 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
265 internal static long FindSignature(Stream stream, int SignatureToFind)
266 {
267 throw null;
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x6000072")]
271 [global::Cpp2ILInjected.Address(RVA = "0x1A46824", Offset = "0x1A46824", Length = "0x164")]
272 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "set_LastModified", MemberParameters = new object[] { typeof(DateTime) }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_SetTimes", MemberParameters = new object[]
275 {
276 typeof(string),
277 typeof(bool)
278 }, ReturnType = typeof(void))]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Kind", ReturnType = typeof(DateTimeKind))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "IsDaylightSavingTime", ReturnType = typeof(bool))]
283 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = ".ctor", MemberParameters = new object[]
284 {
285 typeof(int),
286 typeof(int),
287 typeof(int)
288 }, ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Addition", MemberParameters = new object[]
290 {
293 }, ReturnType = typeof(DateTime))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
295 {
298 }, ReturnType = typeof(DateTime))]
299 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
301 {
302 throw null;
303 }
304
305 [global::Cpp2ILInjected.Token(Token = "0x6000073")]
306 [global::Cpp2ILInjected.Address(RVA = "0x1A46988", Offset = "0x1A46988", Length = "0x588")]
307 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "get_Info", ReturnType = typeof(string))]
309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadDirEntry", MemberParameters = new object[]
310 {
313 }, ReturnType = typeof(ZipEntry))]
314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReadHeader", MemberParameters = new object[]
315 {
316 typeof(ZipEntry),
318 }, ReturnType = typeof(bool))]
319 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
320 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = ".ctor", MemberParameters = new object[]
321 {
322 typeof(int),
323 typeof(int),
324 typeof(int),
325 typeof(int),
326 typeof(int),
327 typeof(int),
328 typeof(int)
329 }, ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
331 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "SpecifyKind", MemberParameters = new object[]
332 {
335 }, ReturnType = typeof(DateTime))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
337 {
338 typeof(string),
339 typeof(object[])
340 }, ReturnType = typeof(string))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
342 {
343 typeof(string),
344 typeof(object)
345 }, ReturnType = typeof(string))]
346 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ZipException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 58)]
349 {
350 throw null;
351 }
352
353 [global::Cpp2ILInjected.Token(Token = "0x6000074")]
354 [global::Cpp2ILInjected.Address(RVA = "0x1A46F10", Offset = "0x1A46F10", Length = "0xB0")]
355 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "WriteHeader", MemberParameters = new object[]
357 {
358 typeof(Stream),
359 typeof(int)
360 }, ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "WriteSecurityMetadata", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
362 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "ToLocalTime", ReturnType = typeof(DateTime))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Day", ReturnType = typeof(int))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Month", ReturnType = typeof(int))]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Year", ReturnType = typeof(int))]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Second", ReturnType = typeof(int))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Minute", ReturnType = typeof(int))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Hour", ReturnType = typeof(int))]
370 internal static int DateTimeToPacked(DateTime time)
371 {
372 throw null;
373 }
374
375 [global::Cpp2ILInjected.Token(Token = "0x6000075")]
376 [global::Cpp2ILInjected.Address(RVA = "0x1A46FC0", Offset = "0x1A46FC0", Length = "0x18C")]
377 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
378 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "get_WriteStream", ReturnType = typeof(Stream))]
379 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipSegmentedStream), Member = "_SetWriteStream", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(void))]
380 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "InternalGetTempFileName", ReturnType = typeof(string))]
382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
383 {
384 typeof(string),
385 typeof(string)
386 }, ReturnType = typeof(string))]
387 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
388 {
389 typeof(string),
391 }, ReturnType = typeof(void))]
392 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
393 public static void CreateAndOpenUniqueTempFile(string dir, out Stream fs, out string filename)
394 {
395 throw null;
396 }
397
398 [global::Cpp2ILInjected.Token(Token = "0x6000076")]
399 [global::Cpp2ILInjected.Address(RVA = "0x1A4714C", Offset = "0x1A4714C", Length = "0x94")]
400 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "CreateAndOpenUniqueTempFile", MemberParameters = new object[]
401 {
402 typeof(string),
404 typeof(ref string)
405 }, ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipSegmentedStream), Member = "TruncateBackward", MemberParameters = new object[]
407 {
408 typeof(uint),
409 typeof(long)
410 }, ReturnType = typeof(long))]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SharedUtilities), Member = "GenerateRandomStringImpl", MemberParameters = new object[]
413 {
414 typeof(int),
415 typeof(int)
416 }, ReturnType = typeof(string))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
418 {
419 typeof(string),
420 typeof(string),
421 typeof(string)
422 }, ReturnType = typeof(string))]
423 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
424 public static string InternalGetTempFileName()
425 {
426 throw null;
427 }
428
429 [global::Cpp2ILInjected.Token(Token = "0x6000077")]
430 [global::Cpp2ILInjected.Address(RVA = "0x1A471E0", Offset = "0x1A471E0", Length = "0x10C")]
431 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
432 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SharedUtilities), Member = "InternalGetTempFileName", ReturnType = typeof(string))]
433 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "Save", ReturnType = typeof(void))]
434 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
435 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Random), Member = ".ctor", ReturnType = typeof(void))]
436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
437 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
438 internal static string GenerateRandomStringImpl(int length, int delta)
439 {
440 throw null;
441 }
442
443 [global::Cpp2ILInjected.Token(Token = "0x6000078")]
444 [global::Cpp2ILInjected.Address(RVA = "0x1A472EC", Offset = "0x1A472EC", Length = "0x94")]
445 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
446 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_WriteEntryData", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
448 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
449 internal static int ReadWithRetry(Stream s, byte[] buffer, int offset, int count, string FileName)
450 {
451 throw null;
452 }
453
454 [global::Cpp2ILInjected.Token(Token = "0x6000079")]
455 [global::Cpp2ILInjected.Address(RVA = "0x1A47380", Offset = "0x1A47380", Length = "0x58")]
456 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "GetHRForException", MemberParameters = new object[] { typeof(Exception) }, ReturnType = typeof(int))]
458 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
459 private static uint _HRForException(Exception ex1)
460 {
461 throw null;
462 }
463
464 // Note: this type is marked as 'beforefieldinit'.
465 [global::Cpp2ILInjected.Token(Token = "0x600007A")]
466 [global::Cpp2ILInjected.Address(RVA = "0x1A473D8", Offset = "0x1A473D8", Length = "0xF0")]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "GetEncoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Encoding))]
470 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
472 {
473 throw null;
474 }
475
476 [global::Cpp2ILInjected.Token(Token = "0x4000030")]
477 private static Regex doubleDotRegex1;
478
479 [global::Cpp2ILInjected.Token(Token = "0x4000031")]
480 private static Encoding ibm437;
481
482 [global::Cpp2ILInjected.Token(Token = "0x4000032")]
483 private static Encoding utf8;
484 }
485}
class f__AnonymousType0<< Count > j__TPar
static int DateTimeToPacked(DateTime time)
static string InternalGetTempFileName()
static long GetFileLength(string fileName)
static int ReadEntrySignature(Stream s)
static long FindSignature(Stream stream, int SignatureToFind)
static int ReadSignature(Stream s)
static DateTime AdjustTime_Reverse(DateTime time)
static string Utf8StringFromBuffer(byte[] buf)
static void CreateAndOpenUniqueTempFile(string dir, out Stream fs, out string filename)
static byte[] StringToByteArray(string value, Encoding encoding)
static string SimplifyFwdSlashPath(string path)
static string StringFromBuffer(byte[] buf, Encoding encoding)
static int ReadInt(Stream s)
static void Workaround_Ladybug318918(Stream s)
static int _ReadFourBytes(Stream s, string message)
static DateTime PackedToDateTime(int packedDateTime)
static byte[] StringToByteArray(string value)
static int ReadWithRetry(Stream s, byte[] buffer, int offset, int count, string FileName)
static uint _HRForException(Exception ex1)
static string GenerateRandomStringImpl(int length, int delta)
static string NormalizePathForUseInZipFile(string pathName)