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
ARC4Managed.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000051")]
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6000225")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1A9BB80", Offset = "0x1A9BB80", Length = "0x80")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC4), Member = "Create", ReturnType = typeof(RC4))]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RC4), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
17 public ARC4Managed()
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6000226")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1A9BC7C", Offset = "0x1A9BC7C", Length = "0xA0")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
28 protected override void Finalize()
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6000227")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1A9BD1C", Offset = "0x1A9BD1C", Length = "0xA4")]
35 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
38 {
40 typeof(int),
41 typeof(int)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
45 protected override void Dispose(bool disposing)
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x170000AB")]
51 public override byte[] Key
52 {
53 [global::Cpp2ILInjected.Token(Token = "0x6000228")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1A9BDC0", Offset = "0x1A9BDC0", Length = "0x8C")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clone", ReturnType = typeof(object))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
59 get
60 {
61 throw null;
62 }
63 [global::Cpp2ILInjected.Token(Token = "0x6000229")]
64 [global::Cpp2ILInjected.Address(RVA = "0x1A9BE4C", Offset = "0x1A9BE4C", Length = "0xD4")]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clone", ReturnType = typeof(object))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
69 set
70 {
71 throw null;
72 }
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x170000AC")]
77 {
78 [global::Cpp2ILInjected.Token(Token = "0x600022A")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1A9BFA0", Offset = "0x1A9BFA0", Length = "0x8")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 get
82 {
83 throw null;
84 }
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x600022B")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1A9BFA8", Offset = "0x1A9BFA8", Length = "0x24")]
89 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgvIV)
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x600022C")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1A9BFCC", Offset = "0x1A9BFCC", Length = "0x30")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
101 public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgvIV)
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x600022D")]
107 [global::Cpp2ILInjected.Address(RVA = "0x1A9BFFC", Offset = "0x1A9BFFC", Length = "0x5C")]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
110 public override void GenerateIV()
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x600022E")]
116 [global::Cpp2ILInjected.Address(RVA = "0x1A9C058", Offset = "0x1A9C058", Length = "0x20")]
117 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyBuilder), Member = "Key", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte[]))]
120 public override void GenerateKey()
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x170000AD")]
127 {
128 [global::Cpp2ILInjected.Token(Token = "0x600022F")]
129 [global::Cpp2ILInjected.Address(RVA = "0x1A9C0E0", Offset = "0x1A9C0E0", Length = "0x8")]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 get
132 {
133 throw null;
134 }
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x170000AE")]
138 public int InputBlockSize
139 {
140 [global::Cpp2ILInjected.Token(Token = "0x6000230")]
141 [global::Cpp2ILInjected.Address(RVA = "0x1A9C0E8", Offset = "0x1A9C0E8", Length = "0x8")]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 get
144 {
145 throw null;
146 }
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x170000AF")]
151 {
152 [global::Cpp2ILInjected.Token(Token = "0x6000231")]
153 [global::Cpp2ILInjected.Address(RVA = "0x1A9C0F0", Offset = "0x1A9C0F0", Length = "0x8")]
154 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
155 get
156 {
157 throw null;
158 }
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x6000232")]
162 [global::Cpp2ILInjected.Address(RVA = "0x1A9BF20", Offset = "0x1A9BF20", Length = "0x80")]
163 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
165 private void KeySetup(byte[] key)
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6000233")]
171 [global::Cpp2ILInjected.Address(RVA = "0x1A9C0F8", Offset = "0x1A9C0F8", Length = "0x144")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ARC4Managed), Member = "TransformBlock", MemberParameters = new object[]
174 {
175 typeof(byte[]),
176 typeof(int),
177 typeof(int),
178 typeof(byte[]),
179 typeof(int)
180 }, ReturnType = typeof(int))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ARC4Managed), Member = "TransformFinalBlock", MemberParameters = new object[]
182 {
183 typeof(byte[]),
184 typeof(int),
185 typeof(int)
186 }, ReturnType = typeof(byte[]))]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
190 {
191 typeof(string),
192 typeof(string)
193 }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[]
196 {
197 typeof(string),
198 typeof(string)
199 }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
201 private void CheckInput(byte[] inputBuffer, int inputOffset, int inputCount)
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x6000234")]
207 [global::Cpp2ILInjected.Address(RVA = "0x1A9C23C", Offset = "0x1A9C23C", Length = "0x164")]
208 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ARC4Managed), Member = "CheckInput", MemberParameters = new object[]
211 {
212 typeof(byte[]),
213 typeof(int),
214 typeof(int)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
218 {
219 typeof(string),
220 typeof(string)
221 }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentException), Member = ".ctor", MemberParameters = new object[]
224 {
225 typeof(string),
226 typeof(string)
227 }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
229 public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x6000235")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1A9C3A0", Offset = "0x1A9C3A0", Length = "0xA4")]
236 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ARC4Managed), Member = "TransformFinalBlock", MemberParameters = new object[]
238 {
239 typeof(byte[]),
240 typeof(int),
241 typeof(int)
242 }, ReturnType = typeof(byte[]))]
243 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
244 private int InternalTransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
245 {
246 throw null;
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x6000236")]
250 [global::Cpp2ILInjected.Address(RVA = "0x1A9C444", Offset = "0x1A9C444", Length = "0x9C")]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ARC4Managed), Member = "CheckInput", MemberParameters = new object[]
253 {
254 typeof(byte[]),
255 typeof(int),
256 typeof(int)
257 }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ARC4Managed), Member = "InternalTransformBlock", MemberParameters = new object[]
259 {
260 typeof(byte[]),
261 typeof(int),
262 typeof(int),
263 typeof(byte[]),
264 typeof(int)
265 }, ReturnType = typeof(int))]
266 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
267 public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
268 {
269 throw null;
270 }
271
272 [global::Cpp2ILInjected.Token(Token = "0x400024E")]
273 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
274 private byte[] key;
275
276 [global::Cpp2ILInjected.Token(Token = "0x400024F")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
278 private byte[] state;
279
280 [global::Cpp2ILInjected.Token(Token = "0x4000250")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
282 private byte x;
283
284 [global::Cpp2ILInjected.Token(Token = "0x4000251")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x59")]
286 private byte y;
287
288 [global::Cpp2ILInjected.Token(Token = "0x4000252")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5A")]
290 private bool m_disposed;
291 }
292}
class f__AnonymousType0<< Count > j__TPar
int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgvIV)
override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgvIV)
override void Dispose(bool disposing)
void CheckInput(byte[] inputBuffer, int inputOffset, int inputCount)
byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
int InternalTransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)