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
AuthenticodeBase.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200005F")]
10 public class AuthenticodeBase
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000296")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1AA273C", Offset = "0x1AA273C", Length = "0x5C")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = ".ctor", ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x170000BC")]
24 internal int PEOffset
25 {
26 [global::Cpp2ILInjected.Token(Token = "0x6000297")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1AA2798", Offset = "0x1AA2798", Length = "0x28")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AuthenticodeBase), Member = "ReadFirstBlock", ReturnType = typeof(void))]
31 get
32 {
33 throw null;
34 }
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x6000298")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1AA287C", Offset = "0x1AA287C", Length = "0x8C")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "CheckSignature", ReturnType = typeof(bool))]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
43 {
44 typeof(string),
48 }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
50 internal void Open(string filename)
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x6000299")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1AA2934", Offset = "0x1AA2934", Length = "0x84")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "CheckSignature", ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MemoryStream), Member = ".ctor", MemberParameters = new object[]
61 {
62 typeof(byte[]),
63 typeof(bool)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
66 internal void Open(byte[] rawdata)
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x600029A")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1AA2908", Offset = "0x1AA2908", Length = "0x2C")]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "CheckSignature", ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
76 internal void Close()
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x600029B")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1AA27C0", Offset = "0x1AA27C0", Length = "0xBC")]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "get_PEOffset", ReturnType = typeof(int))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "GetSecurityEntry", ReturnType = typeof(byte[]))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "GetHash", MemberParameters = new object[] { typeof(HashAlgorithm) }, ReturnType = typeof(byte[]))]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AuthenticodeBase), Member = "ProcessFirstBlock", ReturnType = typeof(int))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Locale), Member = "GetText", MemberParameters = new object[]
89 {
90 typeof(string),
91 typeof(object[])
92 }, ReturnType = typeof(string))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
95 internal void ReadFirstBlock()
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x600029C")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1AA29B8", Offset = "0x1AA29B8", Length = "0x210")]
102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "ReadFirstBlock", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "ToUInt16", MemberParameters = new object[]
106 {
107 typeof(byte[]),
108 typeof(int)
109 }, ReturnType = typeof(ushort))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "ToInt32", MemberParameters = new object[]
111 {
112 typeof(byte[]),
113 typeof(int)
114 }, ReturnType = typeof(int))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "ToUInt32", MemberParameters = new object[]
116 {
117 typeof(byte[]),
118 typeof(int)
119 }, ReturnType = typeof(uint))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
122 {
123 typeof(string),
124 typeof(object)
125 }, ReturnType = typeof(string))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
128 internal int ProcessFirstBlock()
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x600029D")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1AA2BC8", Offset = "0x1AA2BC8", Length = "0xBC")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "CheckSignature", ReturnType = typeof(bool))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AuthenticodeBase), Member = "ReadFirstBlock", ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
140 internal byte[] GetSecurityEntry()
141 {
142 throw null;
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x600029E")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1AA2C84", Offset = "0x1AA2C84", Length = "0x3DC")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeDeformatter), Member = "CheckSignature", ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AuthenticodeBase), Member = "ReadFirstBlock", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "TransformBlock", MemberParameters = new object[]
152 {
153 typeof(byte[]),
154 typeof(int),
155 typeof(int),
156 typeof(byte[]),
157 typeof(int)
158 }, ReturnType = typeof(int))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "TransformFinalBlock", MemberParameters = new object[]
160 {
161 typeof(byte[]),
162 typeof(int),
163 typeof(int)
164 }, ReturnType = typeof(byte[]))]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
166 internal byte[] GetHash(HashAlgorithm hash)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x400027A")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
173 private byte[] fileblock;
174
175 [global::Cpp2ILInjected.Token(Token = "0x400027B")]
176 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
177 private Stream fs;
178
179 [global::Cpp2ILInjected.Token(Token = "0x400027C")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
181 private int blockNo;
182
183 [global::Cpp2ILInjected.Token(Token = "0x400027D")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
185 private int blockLength;
186
187 [global::Cpp2ILInjected.Token(Token = "0x400027E")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
189 private int peOffset;
190
191 [global::Cpp2ILInjected.Token(Token = "0x400027F")]
192 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
193 private int dirSecurityOffset;
194
195 [global::Cpp2ILInjected.Token(Token = "0x4000280")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
197 private int dirSecuritySize;
198
199 [global::Cpp2ILInjected.Token(Token = "0x4000281")]
200 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
202
203 [global::Cpp2ILInjected.Token(Token = "0x4000282")]
204 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
205 private bool pe64;
206 }
207}
class f__AnonymousType0<< Count > j__TPar