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
ParseNumbers.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20000EE")]
9 internal static class ParseNumbers
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60008D6")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1C445C0", Offset = "0x1C445C0", Length = "0x18")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToInt64", MemberParameters = new object[]
14 {
15 typeof(string),
16 typeof(int)
17 }, ReturnType = typeof(long))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToUInt64", MemberParameters = new object[]
19 {
20 typeof(string),
21 typeof(int)
22 }, ReturnType = typeof(ulong))]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "StringToLong", MemberParameters = new object[]
25 {
26 typeof(global::System.ReadOnlySpan<char>),
27 typeof(int),
28 typeof(int),
29 typeof(ref int)
30 }, ReturnType = typeof(long))]
31 public static long StringToLong(global::System.ReadOnlySpan<char> s, int radix, int flags)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x60008D7")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1C445D8", Offset = "0x1C445D8", Length = "0x334")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Guid), Member = "StringToLong", MemberParameters = new object[]
40 {
41 typeof(global::System.ReadOnlySpan<char>),
42 typeof(ref int),
43 typeof(int),
44 typeof(ref long),
45 typeof(ref global::System.Guid.GuidResult)
46 }, ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToLong", MemberParameters = new object[]
48 {
49 typeof(global::System.ReadOnlySpan<char>),
50 typeof(int),
51 typeof(int)
52 }, ReturnType = typeof(long))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "EatWhiteSpace", MemberParameters = new object[]
55 {
56 typeof(global::System.ReadOnlySpan<char>),
57 typeof(ref int)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "GrabLongs", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(global::System.ReadOnlySpan<char>),
63 typeof(ref int),
64 typeof(bool)
65 }, ReturnType = typeof(long))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
67 {
68 typeof(string),
69 typeof(string)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.FormatException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
76 public static long StringToLong(global::System.ReadOnlySpan<char> s, int radix, int flags, ref int currPos)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x60008D8")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1C44B80", Offset = "0x1C44B80", Length = "0x18")]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToByte", MemberParameters = new object[]
84 {
85 typeof(string),
86 typeof(int)
87 }, ReturnType = typeof(byte))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToSByte", MemberParameters = new object[]
89 {
90 typeof(string),
91 typeof(int)
92 }, ReturnType = typeof(sbyte))]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToInt16", MemberParameters = new object[]
94 {
95 typeof(string),
96 typeof(int)
97 }, ReturnType = typeof(short))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToUInt16", MemberParameters = new object[]
99 {
100 typeof(string),
101 typeof(int)
102 }, ReturnType = typeof(ushort))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToInt32", MemberParameters = new object[]
104 {
105 typeof(string),
106 typeof(int)
107 }, ReturnType = typeof(int))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Convert), Member = "ToUInt32", MemberParameters = new object[]
109 {
110 typeof(string),
111 typeof(int)
112 }, ReturnType = typeof(uint))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "StringToInt", MemberParameters = new object[]
115 {
116 typeof(global::System.ReadOnlySpan<char>),
117 typeof(int),
118 typeof(int),
119 typeof(ref int)
120 }, ReturnType = typeof(int))]
121 public static int StringToInt(global::System.ReadOnlySpan<char> s, int radix, int flags)
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x60008D9")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1C44B98", Offset = "0x1C44B98", Length = "0x388")]
128 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Guid), Member = "StringToInt", MemberParameters = new object[]
130 {
131 typeof(global::System.ReadOnlySpan<char>),
132 typeof(ref int),
133 typeof(int),
134 typeof(int),
135 typeof(ref int),
136 typeof(ref global::System.Guid.GuidResult)
137 }, ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToInt", MemberParameters = new object[]
139 {
140 typeof(global::System.ReadOnlySpan<char>),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(int))]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "EatWhiteSpace", MemberParameters = new object[]
146 {
147 typeof(global::System.ReadOnlySpan<char>),
148 typeof(ref int)
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "GrabInts", MemberParameters = new object[]
151 {
152 typeof(int),
153 typeof(global::System.ReadOnlySpan<char>),
154 typeof(ref int),
155 typeof(bool)
156 }, ReturnType = typeof(int))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
158 {
159 typeof(string),
160 typeof(string)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.FormatException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
167 public static int StringToInt(global::System.ReadOnlySpan<char> s, int radix, int flags, ref int currPos)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x60008DA")]
173 [global::Cpp2ILInjected.Address(RVA = "0x1C4490C", Offset = "0x1C4490C", Length = "0xA8")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToLong", MemberParameters = new object[]
176 {
177 typeof(global::System.ReadOnlySpan<char>),
178 typeof(int),
179 typeof(int),
180 typeof(ref int)
181 }, ReturnType = typeof(long))]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToInt", MemberParameters = new object[]
183 {
184 typeof(global::System.ReadOnlySpan<char>),
185 typeof(int),
186 typeof(int),
187 typeof(ref int)
188 }, ReturnType = typeof(int))]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsWhiteSpace", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
192 private static void EatWhiteSpace(global::System.ReadOnlySpan<char> s, ref int i)
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x60008DB")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1C449B4", Offset = "0x1C449B4", Length = "0x1CC")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToLong", MemberParameters = new object[]
201 {
202 typeof(global::System.ReadOnlySpan<char>),
203 typeof(int),
204 typeof(int),
205 typeof(ref int)
206 }, ReturnType = typeof(long))]
207 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "ThrowOverflowInt64Exception", ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "ThrowOverflowUInt64Exception", ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
211 private static long GrabLongs(int radix, global::System.ReadOnlySpan<char> s, ref int i, bool isUnsigned)
212 {
213 throw null;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x60008DC")]
217 [global::Cpp2ILInjected.Address(RVA = "0x1C44F20", Offset = "0x1C44F20", Length = "0x1FC")]
218 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "StringToInt", MemberParameters = new object[]
220 {
221 typeof(global::System.ReadOnlySpan<char>),
222 typeof(int),
223 typeof(int),
224 typeof(ref int)
225 }, ReturnType = typeof(int))]
226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "ThrowOverflowInt32Exception", ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParseNumbers), Member = "ThrowOverflowUInt32Exception", ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
231 private static int GrabInts(int radix, global::System.ReadOnlySpan<char> s, ref int i, bool isUnsigned)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x60008DD")]
237 [global::Cpp2ILInjected.Address(RVA = "0x1C451AC", Offset = "0x1C451AC", Length = "0x48")]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "GrabInts", MemberParameters = new object[]
239 {
240 typeof(int),
241 typeof(global::System.ReadOnlySpan<char>),
242 typeof(ref int),
243 typeof(bool)
244 }, ReturnType = typeof(int))]
245 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
248 private static void ThrowOverflowInt32Exception()
249 {
250 throw null;
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x60008DE")]
254 [global::Cpp2ILInjected.Address(RVA = "0x1C4511C", Offset = "0x1C4511C", Length = "0x48")]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "GrabLongs", MemberParameters = new object[]
256 {
257 typeof(int),
258 typeof(global::System.ReadOnlySpan<char>),
259 typeof(ref int),
260 typeof(bool)
261 }, ReturnType = typeof(long))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
265 private static void ThrowOverflowInt64Exception()
266 {
267 throw null;
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x60008DF")]
271 [global::Cpp2ILInjected.Address(RVA = "0x1C451F4", Offset = "0x1C451F4", Length = "0x48")]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "GrabInts", MemberParameters = new object[]
273 {
274 typeof(int),
275 typeof(global::System.ReadOnlySpan<char>),
276 typeof(ref int),
277 typeof(bool)
278 }, ReturnType = typeof(int))]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
282 private static void ThrowOverflowUInt32Exception()
283 {
284 throw null;
285 }
286
287 [global::Cpp2ILInjected.Token(Token = "0x60008E0")]
288 [global::Cpp2ILInjected.Address(RVA = "0x1C45164", Offset = "0x1C45164", Length = "0x48")]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParseNumbers), Member = "GrabLongs", MemberParameters = new object[]
290 {
291 typeof(int),
292 typeof(global::System.ReadOnlySpan<char>),
293 typeof(ref int),
294 typeof(bool)
295 }, ReturnType = typeof(long))]
296 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OverflowException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
299 private static void ThrowOverflowUInt64Exception()
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x60008E1")]
305 [global::Cpp2ILInjected.Address(RVA = "0x1C4523C", Offset = "0x1C4523C", Length = "0x54")]
306 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
307 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
308 [MethodImpl(256)]
309 private static bool IsDigit(char c, int radix, out int result)
310 {
311 throw null;
312 }
313 }
314}
class f__AnonymousType0<< Count > j__TPar
static int StringToInt(global::System.ReadOnlySpan< char > s, int radix, int flags, ref int currPos)
static long GrabLongs(int radix, global::System.ReadOnlySpan< char > s, ref int i, bool isUnsigned)
static void ThrowOverflowUInt32Exception()
static long StringToLong(global::System.ReadOnlySpan< char > s, int radix, int flags, ref int currPos)
static int StringToInt(global::System.ReadOnlySpan< char > s, int radix, int flags)
static bool IsDigit(char c, int radix, out int result)
static void ThrowOverflowInt32Exception()
static void ThrowOverflowUInt64Exception()
static int GrabInts(int radix, global::System.ReadOnlySpan< char > s, ref int i, bool isUnsigned)
static void ThrowOverflowInt64Exception()
static void EatWhiteSpace(global::System.ReadOnlySpan< char > s, ref int i)
static long StringToLong(global::System.ReadOnlySpan< char > s, int radix, int flags)