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
EncoderFallbackBuffer.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Text
6{
7 [global::Cpp2ILInjected.Token(Token = "0x2000270")]
8 public abstract class EncoderFallbackBuffer
9 {
10 [global::Cpp2ILInjected.Token(Token = "0x60014FA")]
11 public abstract bool Fallback(char charUnknown, int index);
12
13 [global::Cpp2ILInjected.Token(Token = "0x60014FB")]
14 public abstract bool Fallback(char charUnknownHigh, char charUnknownLow, int index);
15
16 [global::Cpp2ILInjected.Token(Token = "0x60014FC")]
17 public abstract char GetNextChar();
18
19 [global::Cpp2ILInjected.Token(Token = "0x60014FD")]
20 public abstract bool MovePrevious();
21
22 [global::Cpp2ILInjected.Token(Token = "0x1700021B")]
23 public abstract int Remaining
24 {
25 [global::Cpp2ILInjected.Token(Token = "0x60014FE")]
26 get;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60014FF")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1CB5050", Offset = "0x1CB5050", Length = "0x28")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 public virtual void Reset()
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6001500")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1CB5078", Offset = "0x1CB5078", Length = "0x18")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetBytes", MemberParameters = new object[]
41 {
42 typeof(char*),
43 typeof(int),
44 typeof(byte*),
45 typeof(int),
47 }, ReturnType = typeof(int))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
49 {
50 typeof(EncoderNLS),
51 typeof(bool)
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
55 internal unsafe void InternalReset()
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x6001501")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1CB0700", Offset = "0x1CB0700", Length = "0x1C")]
62 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetByteCount", MemberParameters = new object[]
64 {
65 typeof(char*),
66 typeof(int),
68 }, ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetBytes", MemberParameters = new object[]
70 {
71 typeof(char*),
72 typeof(int),
73 typeof(byte*),
74 typeof(int),
75 typeof(EncoderNLS)
76 }, ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetByteCount", MemberParameters = new object[]
78 {
79 typeof(char*),
80 typeof(int),
81 typeof(EncoderNLS)
82 }, ReturnType = typeof(int))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetBytes", MemberParameters = new object[]
84 {
85 typeof(char*),
86 typeof(int),
87 typeof(byte*),
88 typeof(int),
89 typeof(EncoderNLS)
90 }, ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetByteCount", MemberParameters = new object[]
92 {
93 typeof(char*),
94 typeof(int),
95 typeof(EncoderNLS)
96 }, ReturnType = typeof(int))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetBytes", MemberParameters = new object[]
98 {
99 typeof(char*),
100 typeof(int),
101 typeof(byte*),
102 typeof(int),
103 typeof(EncoderNLS)
104 }, ReturnType = typeof(int))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetByteCount", MemberParameters = new object[]
106 {
107 typeof(char*),
108 typeof(int),
109 typeof(EncoderNLS)
110 }, ReturnType = typeof(int))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetBytes", MemberParameters = new object[]
112 {
113 typeof(char*),
114 typeof(int),
115 typeof(byte*),
116 typeof(int),
117 typeof(EncoderNLS)
118 }, ReturnType = typeof(int))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.EncodingByteBuffer), Member = ".ctor", MemberParameters = new object[]
120 {
121 typeof(Encoding),
122 typeof(EncoderNLS),
123 typeof(byte*),
124 typeof(int),
125 typeof(char*),
126 typeof(int)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6001502")]
135 [global::Cpp2ILInjected.Address(RVA = "0x1CB071C", Offset = "0x1CB071C", Length = "0x34")]
136 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetByteCount", MemberParameters = new object[]
138 {
139 typeof(char*),
140 typeof(int),
142 }, ReturnType = typeof(int))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetBytes", MemberParameters = new object[]
144 {
145 typeof(char*),
146 typeof(int),
147 typeof(byte*),
148 typeof(int),
149 typeof(EncoderNLS)
150 }, ReturnType = typeof(int))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetByteCount", MemberParameters = new object[]
152 {
153 typeof(char*),
154 typeof(int),
155 typeof(EncoderNLS)
156 }, ReturnType = typeof(int))]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetBytes", MemberParameters = new object[]
158 {
159 typeof(char*),
160 typeof(int),
161 typeof(byte*),
162 typeof(int),
163 typeof(EncoderNLS)
164 }, ReturnType = typeof(int))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetByteCount", MemberParameters = new object[]
166 {
167 typeof(char*),
168 typeof(int),
169 typeof(EncoderNLS)
170 }, ReturnType = typeof(int))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetBytes", MemberParameters = new object[]
172 {
173 typeof(char*),
174 typeof(int),
175 typeof(byte*),
176 typeof(int),
177 typeof(EncoderNLS)
178 }, ReturnType = typeof(int))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetByteCount", MemberParameters = new object[]
180 {
181 typeof(char*),
182 typeof(int),
183 typeof(EncoderNLS)
184 }, ReturnType = typeof(int))]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetBytes", MemberParameters = new object[]
186 {
187 typeof(char*),
188 typeof(int),
189 typeof(byte*),
190 typeof(int),
191 typeof(EncoderNLS)
192 }, ReturnType = typeof(int))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.EncodingByteBuffer), Member = "GetNextChar", ReturnType = typeof(char))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
196 {
197 throw null;
198 }
199
200 [global::Cpp2ILInjected.Token(Token = "0x6001503")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1CB5090", Offset = "0x1CB5090", Length = "0x1A8")]
202 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsHighSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsLowSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "ThrowLastCharRecursive", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "ConvertToUtf32", MemberParameters = new object[]
208 {
209 typeof(char),
210 typeof(char)
211 }, ReturnType = typeof(int))]
212 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
213 internal unsafe virtual bool InternalFallback(char ch, ref char* chars)
214 {
215 throw null;
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x6001504")]
219 [global::Cpp2ILInjected.Address(RVA = "0x1CB5238", Offset = "0x1CB5238", Length = "0x8C")]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderFallbackBuffer), Member = "InternalFallback", MemberParameters = new object[]
221 {
222 typeof(char),
223 typeof(ref char*)
224 }, ReturnType = typeof(bool))]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderReplacementFallbackBuffer), Member = "Fallback", MemberParameters = new object[]
226 {
227 typeof(char),
228 typeof(int)
229 }, ReturnType = typeof(bool))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderReplacementFallbackBuffer), Member = "Fallback", MemberParameters = new object[]
231 {
232 typeof(char),
233 typeof(char),
234 typeof(int)
235 }, ReturnType = typeof(bool))]
236 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
238 {
239 typeof(string),
240 typeof(object)
241 }, ReturnType = typeof(string))]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
243 {
244 typeof(string),
245 typeof(string)
246 }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
249 {
250 throw null;
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x6001505")]
254 [global::Cpp2ILInjected.Address(RVA = "0x1CB4620", Offset = "0x1CB4620", Length = "0x8")]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderReplacementFallback), Member = "CreateFallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderReplacementFallbackBuffer), Member = ".ctor", MemberParameters = new object[] { typeof(EncoderReplacementFallback) }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.CharEntityEncoderFallbackBuffer", Member = ".ctor", MemberParameters = new object[] { "System.Xml.CharEntityEncoderFallback" }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
261 {
262 throw null;
263 }
264
265 [global::Cpp2ILInjected.Token(Token = "0x4000B0B")]
266 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
267 internal unsafe char* charStart;
268
269 [global::Cpp2ILInjected.Token(Token = "0x4000B0C")]
270 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
271 internal unsafe char* charEnd;
272
273 [global::Cpp2ILInjected.Token(Token = "0x4000B0D")]
274 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
276
277 [global::Cpp2ILInjected.Token(Token = "0x4000B0E")]
278 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
279 internal bool setEncoder;
280
281 [global::Cpp2ILInjected.Token(Token = "0x4000B0F")]
282 [global::Cpp2ILInjected.FieldOffset(Offset = "0x29")]
283 internal bool bUsedEncoder;
284
285 [global::Cpp2ILInjected.Token(Token = "0x4000B10")]
286 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2A")]
287 internal bool bFallingBack;
288
289 [global::Cpp2ILInjected.Token(Token = "0x4000B11")]
290 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
291 internal int iRecursionCount;
292 }
293}
class f__AnonymousType0<< Count > j__TPar
bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
unsafe void ThrowLastCharRecursive(int charRecursive)
virtual unsafe bool InternalFallback(char ch, ref char *chars)
bool Fallback(char charUnknown, int index)
unsafe void InternalInitialize(char *charStart, char *charEnd, EncoderNLS encoder, bool setEncoder)