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
Helpers.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000066")]
10 internal static class Helpers
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600023D")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1AC7114", Offset = "0x1AC7114", Length = "0x78")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.Rfc2898DeriveBytes), Member = ".ctor", MemberParameters = new object[]
15 {
16 typeof(byte[]),
17 typeof(byte[]),
18 typeof(int),
19 typeof(global::System.Security.Cryptography.HashAlgorithmName)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.Rfc2898DeriveBytes), Member = "get_Salt", ReturnType = typeof(byte[]))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.Rfc2898DeriveBytes), Member = "set_Salt", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetCertHash", ReturnType = typeof(byte[]))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetRawCertData", ReturnType = typeof(byte[]))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetKeyAlgorithmParameters", ReturnType = typeof(byte[]))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetPublicKey", ReturnType = typeof(byte[]))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetSerialNumber", ReturnType = typeof(byte[]))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2", Member = "get_RawData", ReturnType = "System.Byte[]")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clone", ReturnType = typeof(object))]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
32 public static byte[] CloneByteArray(this byte[] src)
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x600023E")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1AC718C", Offset = "0x1AC718C", Length = "0x19C")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.Rfc2898DeriveBytes), Member = ".ctor", MemberParameters = new object[]
41 {
42 typeof(string),
43 typeof(int),
44 typeof(int),
45 typeof(global::System.Security.Cryptography.HashAlgorithmName)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.Cryptography.RandomNumberGenerator), Member = "Create", ReturnType = typeof(global::System.Security.Cryptography.RandomNumberGenerator))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
50 public static byte[] GenerateRandom(int count)
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x600023F")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1AC7328", Offset = "0x1AC7328", Length = "0x30")]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.Rfc2898DeriveBytes), Member = "Func", ReturnType = typeof(byte[]))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
59 public static void WriteInt(uint i, byte[] arr, int offset)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6000240")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1AC7358", Offset = "0x1AC7358", Length = "0xB4")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Helpers), Member = "ToHexStringUpper", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(string))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "ToString", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
71 public static char[] ToHexArrayUpper(this byte[] bytes)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6000241")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1AC7428", Offset = "0x1AC7428", Length = "0x10")]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetCertHashString", ReturnType = typeof(string))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = "GetSerialNumberString", ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2", Member = "get_Thumbprint", ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2", Member = "ToString", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.X509Certificates.X509Certificate2Collection", Member = "Find", MemberParameters = new object[]
83 {
84 "System.Security.Cryptography.X509Certificates.X509FindType",
85 typeof(object),
86 typeof(bool)
87 }, ReturnType = "System.Security.Cryptography.X509Certificates.X509Certificate2Collection")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Helpers), Member = "ToHexArrayUpper", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(char[]))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Ctor", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
91 public static string ToHexStringUpper(this byte[] bytes)
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6000242")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1AC740C", Offset = "0x1AC740C", Length = "0x1C")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 private static char NibbleToHex(byte b)
101 {
102 throw null;
103 }
104 }
105}
class f__AnonymousType0<< Count > j__TPar
static char NibbleToHex(byte b)
Definition Helpers.cs:100
static void WriteInt(uint i, byte[] arr, int offset)
Definition Helpers.cs:59
static byte[] GenerateRandom(int count)
Definition Helpers.cs:50
static string ToHexStringUpper(this byte[] bytes)
Definition Helpers.cs:91
static byte[] CloneByteArray(this byte[] src)
Definition Helpers.cs:32
static char[] ToHexArrayUpper(this byte[] bytes)
Definition Helpers.cs:71