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
BinHexDecoder.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Xml
6{
7 [global::Cpp2ILInjected.Token(Token = "0x2000007")]
9 {
10 [global::Cpp2ILInjected.Token(Token = "0x17000001")]
11 internal override bool IsFull
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600000A")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1D5C9D0", Offset = "0x1D5C9D0", Length = "0x10")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 get
18 {
19 throw null;
20 }
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x600000B")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1D5C9E0", Offset = "0x1D5C9E0", Length = "0x12C")]
25 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinHexDecoder), Member = "Decode", MemberParameters = new object[]
28 {
29 typeof(char*),
30 typeof(char*),
31 typeof(byte*),
32 typeof(byte*),
33 typeof(ref bool),
34 typeof(ref byte),
35 typeof(ref int),
36 typeof(ref int)
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
41 internal unsafe override int Decode(char[] chars, int startPos, int len)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x600000C")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1D5CCBC", Offset = "0x1D5CCBC", Length = "0x1C8")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XmlConvert), Member = "FromBinHexString", MemberParameters = new object[]
50 {
51 typeof(string),
52 typeof(bool)
53 }, ReturnType = typeof(byte[]))]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BinHexDecoder), Member = "Decode", MemberParameters = new object[]
56 {
57 typeof(char*),
58 typeof(char*),
59 typeof(byte*),
60 typeof(byte*),
61 typeof(ref bool),
62 typeof(ref byte),
63 typeof(ref int),
64 typeof(ref int)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
67 {
69 typeof(int),
71 typeof(int),
72 typeof(int)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XmlException), Member = ".ctor", MemberParameters = new object[]
77 {
78 typeof(string),
79 typeof(string)
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
82 public unsafe static byte[] Decode(char[] chars, bool allowOddChars)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x600000D")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1D5CB0C", Offset = "0x1D5CB0C", Length = "0x1B0")]
89 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BinHexDecoder), Member = "Decode", MemberParameters = new object[]
91 {
92 typeof(char[]),
93 typeof(int),
94 typeof(int)
95 }, ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BinHexDecoder), Member = "Decode", MemberParameters = new object[]
97 {
98 typeof(char[]),
99 typeof(bool)
100 }, ReturnType = typeof(byte[]))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XmlCharType), Member = "get_Instance", ReturnType = typeof(XmlCharType))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
104 {
105 typeof(char*),
106 typeof(int),
107 typeof(int)
108 }, ReturnType = typeof(string))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(XmlException), Member = ".ctor", MemberParameters = new object[]
110 {
111 typeof(string),
112 typeof(string)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
115 private unsafe static void Decode(char* pChars, char* pCharsEndPos, byte* pBytes, byte* pBytesEndPos, ref bool hasHalfByteCached, ref byte cachedHalfByte, out int charsDecoded, out int bytesDecoded)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x400000A")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
122 private byte[] buffer;
123
124 [global::Cpp2ILInjected.Token(Token = "0x400000B")]
125 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
126 private int curIndex;
127
128 [global::Cpp2ILInjected.Token(Token = "0x400000C")]
129 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
130 private int endIndex;
131
132 [global::Cpp2ILInjected.Token(Token = "0x400000D")]
133 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
134 private bool hasHalfByteCached;
135
136 [global::Cpp2ILInjected.Token(Token = "0x400000E")]
137 [global::Cpp2ILInjected.FieldOffset(Offset = "0x21")]
138 private byte cachedHalfByte;
139 }
140}
class f__AnonymousType0<< Count > j__TPar
static unsafe byte[] Decode(char[] chars, bool allowOddChars)
static unsafe void Decode(char *pChars, char *pCharsEndPos, byte *pBytes, byte *pBytesEndPos, ref bool hasHalfByteCached, ref byte cachedHalfByte, out int charsDecoded, out int bytesDecoded)
unsafe override int Decode(char[] chars, int startPos, int len)