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
BitConverterLE.cs
Go to the documentation of this file.
1using System;
6
7namespace Mono.Security
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000005")]
10 internal sealed class BitConverterLE
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600001B")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1A7A014", Offset = "0x1A7A014", Length = "0xBC")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1Convert), Member = "FromInt32", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(ASN1))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BitConverterLE), Member = "GetBytes", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte[]))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
18 private unsafe static byte[] GetUIntBytes(byte* bytes)
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x600001C")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1A7A0D0", Offset = "0x1A7A0D0", Length = "0xFC")]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BitConverterLE), Member = "GetBytes", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(byte[]))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
28 private unsafe static byte[] GetULongBytes(byte* bytes)
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x600001D")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1A795B8", Offset = "0x1A795B8", Length = "0x18")]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "GetUIntBytes", MemberParameters = new object[] { typeof(byte*) }, ReturnType = typeof(byte[]))]
37 internal unsafe static byte[] GetBytes(int value)
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x600001E")]
43 [global::Cpp2ILInjected.Address(RVA = "0x1A7A1CC", Offset = "0x1A7A1CC", Length = "0x18")]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChallengeResponse2), Member = "Compute_NTLMv2", MemberParameters = new object[]
45 {
47 typeof(string),
48 typeof(string),
49 typeof(string)
50 }, ReturnType = typeof(byte[]))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "GetULongBytes", MemberParameters = new object[] { typeof(byte*) }, ReturnType = typeof(byte[]))]
53 internal unsafe static byte[] GetBytes(long value)
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x600001F")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1A7A1E4", Offset = "0x1A7A1E4", Length = "0x9C")]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BitConverterLE), Member = "ToUInt16", MemberParameters = new object[]
61 {
62 typeof(byte[]),
63 typeof(int)
64 }, ReturnType = typeof(ushort))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
67 private unsafe static void UShortFromBytes(byte* dst, byte[] src, int startIndex)
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x6000020")]
73 [global::Cpp2ILInjected.Address(RVA = "0x1A7A280", Offset = "0x1A7A280", Length = "0xCC")]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BitConverterLE), Member = "ToInt32", MemberParameters = new object[]
75 {
76 typeof(byte[]),
77 typeof(int)
78 }, ReturnType = typeof(int))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BitConverterLE), Member = "ToUInt32", MemberParameters = new object[]
80 {
81 typeof(byte[]),
82 typeof(int)
83 }, ReturnType = typeof(uint))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
86 private unsafe static void UIntFromBytes(byte* dst, byte[] src, int startIndex)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6000021")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1A7A34C", Offset = "0x1A7A34C", Length = "0x24")]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "ProcessFirstBlock", ReturnType = typeof(int))]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PrivateKey), Member = "Decode", MemberParameters = new object[]
95 {
96 typeof(byte[]),
97 typeof(string)
98 }, ReturnType = typeof(bool))]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "UIntFromBytes", MemberParameters = new object[]
101 {
102 typeof(byte*),
103 typeof(byte[]),
104 typeof(int)
105 }, ReturnType = typeof(void))]
106 internal unsafe static int ToInt32(byte[] value, int startIndex)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x6000022")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1A7A370", Offset = "0x1A7A370", Length = "0x24")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type1Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type2Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type3Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "ProcessFirstBlock", ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "UShortFromBytes", MemberParameters = new object[]
120 {
121 typeof(byte*),
122 typeof(byte[]),
123 typeof(int)
124 }, ReturnType = typeof(void))]
125 internal unsafe static ushort ToUInt16(byte[] value, int startIndex)
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x6000023")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1A7A394", Offset = "0x1A7A394", Length = "0x24")]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBase), Member = "CheckHeader", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(bool))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type1Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type2Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Type3Message), Member = "Decode", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AuthenticodeBase), Member = "ProcessFirstBlock", ReturnType = typeof(int))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PrivateKey), Member = "Decode", MemberParameters = new object[]
138 {
139 typeof(byte[]),
140 typeof(string)
141 }, ReturnType = typeof(bool))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitConverterLE), Member = "UIntFromBytes", MemberParameters = new object[]
144 {
145 typeof(byte*),
146 typeof(byte[]),
147 typeof(int)
148 }, ReturnType = typeof(void))]
149 internal unsafe static uint ToUInt32(byte[] value, int startIndex)
150 {
151 throw null;
152 }
153 }
154}
class f__AnonymousType0<< Count > j__TPar
static unsafe byte[] GetUIntBytes(byte *bytes)
static unsafe byte[] GetBytes(long value)
static unsafe byte[] GetBytes(int value)
static unsafe void UShortFromBytes(byte *dst, byte[] src, int startIndex)
static unsafe void UIntFromBytes(byte *dst, byte[] src, int startIndex)
static unsafe uint ToUInt32(byte[] value, int startIndex)
static unsafe int ToInt32(byte[] value, int startIndex)
static unsafe byte[] GetULongBytes(byte *bytes)
static unsafe ushort ToUInt16(byte[] value, int startIndex)