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
NetCfFile.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6
7namespace Ionic.Zip
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000024")]
10 internal class NetCfFile
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600014A")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1A4DB40", Offset = "0x1A4DB40", Length = "0x144")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_SetTimes", MemberParameters = new object[]
15 {
16 typeof(string),
17 typeof(bool)
18 }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "CreateFileCE", MemberParameters = new object[]
21 {
22 typeof(string),
23 typeof(uint),
24 typeof(uint),
25 typeof(int),
26 typeof(uint),
27 typeof(uint),
28 typeof(int)
29 }, ReturnType = typeof(int))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(int))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "ToFileTime", ReturnType = typeof(long))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte[]))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "SetFileTime", MemberParameters = new object[]
35 {
37 typeof(byte[]),
38 typeof(byte[]),
39 typeof(byte[])
40 }, ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "CloseHandle", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(bool))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "GetLastWin32Error", ReturnType = typeof(int))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
44 public static int SetTimes(string filename, DateTime ctime, DateTime atime, DateTime mtime)
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x600014B")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1A4DC84", Offset = "0x1A4DC84", Length = "0x104")]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_SetTimes", MemberParameters = new object[]
52 {
53 typeof(string),
54 typeof(bool)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "CreateFileCE", MemberParameters = new object[]
58 {
59 typeof(string),
60 typeof(uint),
61 typeof(uint),
62 typeof(int),
63 typeof(uint),
64 typeof(uint),
65 typeof(int)
66 }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "ToFileTime", ReturnType = typeof(long))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverter), Member = "GetBytes", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte[]))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "SetFileTime", MemberParameters = new object[]
72 {
74 typeof(byte[]),
75 typeof(byte[]),
76 typeof(byte[])
77 }, ReturnType = typeof(bool))]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetCfFile), Member = "CloseHandle", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "GetLastWin32Error", ReturnType = typeof(int))]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
81 public static int SetLastWriteTime(string filename, DateTime mtime)
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x600014C")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1A53CB4", Offset = "0x1A53CB4", Length = "0xE0")]
88 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetTimes", MemberParameters = new object[]
90 {
91 typeof(string),
95 }, ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetLastWriteTime", MemberParameters = new object[]
97 {
98 typeof(string),
100 }, ReturnType = typeof(int))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
103 [PreserveSig]
105
106 [global::Cpp2ILInjected.Token(Token = "0x600014D")]
107 [global::Cpp2ILInjected.Address(RVA = "0x1A4ABC8", Offset = "0x1A4ABC8", Length = "0x98")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "Create", MemberParameters = new object[]
110 {
111 typeof(string),
113 typeof(object),
114 typeof(object)
115 }, ReturnType = typeof(ZipEntry))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReallyDelete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "AddOrUpdateDirectoryImpl", MemberParameters = new object[]
118 {
119 typeof(string),
120 typeof(string),
122 typeof(bool),
123 typeof(int)
124 }, ReturnType = typeof(ZipEntry))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
127 [PreserveSig]
128 internal static extern uint GetAttributes(string lpFileName);
129
130 [global::Cpp2ILInjected.Token(Token = "0x600014E")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1A4CB40", Offset = "0x1A4CB40", Length = "0xA4")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "ReallyDelete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "InternalExtract", MemberParameters = new object[]
135 {
136 typeof(string),
137 typeof(Stream),
138 typeof(string)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
142 [PreserveSig]
143 internal static extern bool SetAttributes(string lpFileName, uint dwFileAttributes);
144
145 [global::Cpp2ILInjected.Token(Token = "0x600014F")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1A53D94", Offset = "0x1A53D94", Length = "0xC4")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetTimes", MemberParameters = new object[]
149 {
150 typeof(string),
154 }, ReturnType = typeof(int))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetLastWriteTime", MemberParameters = new object[]
156 {
157 typeof(string),
159 }, ReturnType = typeof(int))]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
161 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
162 [PreserveSig]
163 internal static extern bool SetFileTime(IntPtr hFile, byte[] lpCreationTime, byte[] lpLastAccessTime, byte[] lpLastWriteTime);
164
165 [global::Cpp2ILInjected.Token(Token = "0x6000150")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1A53E58", Offset = "0x1A53E58", Length = "0x88")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetTimes", MemberParameters = new object[]
169 {
170 typeof(string),
174 }, ReturnType = typeof(int))]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetCfFile), Member = "SetLastWriteTime", MemberParameters = new object[]
176 {
177 typeof(string),
179 }, ReturnType = typeof(int))]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
181 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
182 [PreserveSig]
183 internal static extern bool CloseHandle(IntPtr hObject);
184
185 [global::Cpp2ILInjected.Token(Token = "0x6000151")]
186 [global::Cpp2ILInjected.Address(RVA = "0x1A53EE0", Offset = "0x1A53EE0", Length = "0x8")]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
189 public NetCfFile()
190 {
191 throw null;
192 }
193 }
194}
class f__AnonymousType0<< Count > j__TPar
static int CreateFileCE(string lpFileName, uint dwDesiredAccess, uint dwShareMode, int lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes, int hTemplateFile)
static uint GetAttributes(string lpFileName)
static bool SetAttributes(string lpFileName, uint dwFileAttributes)
static bool SetFileTime(IntPtr hFile, byte[] lpCreationTime, byte[] lpLastAccessTime, byte[] lpLastWriteTime)
static int SetTimes(string filename, DateTime ctime, DateTime atime, DateTime mtime)
Definition NetCfFile.cs:44
static int SetLastWriteTime(string filename, DateTime mtime)
Definition NetCfFile.cs:81
static bool CloseHandle(IntPtr hObject)