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
RC2Transform.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000314")]
10 internal class RC2Transform : Mono.Security.Cryptography.SymmetricTransform
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6001AC4")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1B19FE0", Offset = "0x1B19FE0", Length = "0x400")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = "CreateEncryptor", MemberParameters = new object[]
16 {
17 typeof(byte[]),
18 typeof(byte[])
19 }, ReturnType = typeof(ICryptoTransform))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = "CreateDecryptor", MemberParameters = new object[]
21 {
22 typeof(byte[]),
23 typeof(byte[])
24 }, ReturnType = typeof(ICryptoTransform))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mono.Security.Cryptography.SymmetricTransform), Member = ".ctor", MemberParameters = new object[]
27 {
29 typeof(bool),
30 typeof(byte[])
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clone", ReturnType = typeof(object))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mono.Security.Cryptography.KeyBuilder), Member = "Key", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte[]))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
35 {
36 typeof(int),
37 typeof(int)
38 }, ReturnType = typeof(int))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeySizes), Member = "IsLegalKeySize", MemberParameters = new object[]
40 {
42 typeof(int)
43 }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[]
45 {
46 typeof(string),
47 typeof(object[])
48 }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
51 public RC2Transform(RC2 rc2Algo, bool encryption, byte[] key, byte[] iv)
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6001AC5")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1B1A3E0", Offset = "0x1B1A3E0", Length = "0x5E0")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 protected override void ECB(byte[] input, byte[] output)
61 {
62 throw null;
63 }
64
65 // Note: this type is marked as 'beforefieldinit'.
66 [global::Cpp2ILInjected.Token(Token = "0x6001AC6")]
67 [global::Cpp2ILInjected.Address(RVA = "0x1B1A9C0", Offset = "0x1B1A9C0", Length = "0x94")]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
70 {
71 typeof(global::System.Array),
72 typeof(global::System.RuntimeFieldHandle)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
75 static RC2Transform()
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x4000DA1")]
81 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
82 private ushort R0;
83
84 [global::Cpp2ILInjected.Token(Token = "0x4000DA2")]
85 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5A")]
86 private ushort R1;
87
88 [global::Cpp2ILInjected.Token(Token = "0x4000DA3")]
89 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
90 private ushort R2;
91
92 [global::Cpp2ILInjected.Token(Token = "0x4000DA4")]
93 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5E")]
94 private ushort R3;
95
96 [global::Cpp2ILInjected.Token(Token = "0x4000DA5")]
97 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
98 private ushort[] K;
99
100 [global::Cpp2ILInjected.Token(Token = "0x4000DA6")]
101 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
102 private int j;
103
104 [global::Cpp2ILInjected.Token(Token = "0x4000DA7")]
105 private static readonly byte[] pitable;
106 }
107}
class f__AnonymousType0<< Count > j__TPar
override void ECB(byte[] input, byte[] output)
RC2Transform(RC2 rc2Algo, bool encryption, byte[] key, byte[] iv)