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
ParameterizedStrings.cs
Go to the documentation of this file.
1using System;
3using System.Text;
6
7namespace System
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200018E")]
10 internal static class ParameterizedStrings
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000F9D")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1C86094", Offset = "0x1C86094", Length = "0x15C")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "SetCursorPosition", MemberParameters = new object[]
15 {
16 typeof(int),
17 typeof(int)
18 }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
21 {
22 typeof(global::System.Array),
23 typeof(int),
24 typeof(int)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings.LowLevelStack), Member = ".ctor", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
28 {
29 typeof(string),
30 typeof(ref int),
31 typeof(global::System.ParameterizedStrings.FormatParam[]),
35 }, ReturnType = typeof(string))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
38 public static string Evaluate(string format, params global::System.ParameterizedStrings.FormatParam[] args)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x6000F9E")]
44 [global::Cpp2ILInjected.Address(RVA = "0x1C883F0", Offset = "0x1C883F0", Length = "0x7C0")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "Evaluate", MemberParameters = new object[]
47 {
48 typeof(string),
50 }, ReturnType = typeof(string))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
52 {
53 typeof(string),
54 typeof(ref int),
55 typeof(global::System.ParameterizedStrings.FormatParam[]),
59 }, ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(global::System.Text.StringBuilder))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings.LowLevelStack), Member = "Pop", ReturnType = typeof(global::System.ParameterizedStrings.FormatParam))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
66 {
67 typeof(int),
68 typeof(int)
69 }, ReturnType = typeof(string))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Remove", MemberParameters = new object[]
71 {
72 typeof(int),
73 typeof(int)
74 }, ReturnType = typeof(string))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings.FormatParam), Member = "get_Object", ReturnType = typeof(object))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "FormatPrintF", MemberParameters = new object[]
77 {
78 typeof(string),
79 typeof(object)
80 }, ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Text.StringBuilder))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "GetDynamicOrStaticVariables", MemberParameters = new object[]
83 {
84 typeof(char),
87 typeof(ref int)
88 }, ReturnType = typeof(global::System.ParameterizedStrings.FormatParam[]))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.Text.StringBuilder))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
91 {
92 typeof(string),
93 typeof(ref int),
94 typeof(global::System.ParameterizedStrings.FormatParam[]),
98 }, ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings.LowLevelStack), Member = "Push", MemberParameters = new object[] { typeof(global::System.ParameterizedStrings.FormatParam) }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
102 private static string EvaluateInternal(string format, ref int pos, global::System.ParameterizedStrings.FormatParam[] args, global::System.ParameterizedStrings.LowLevelStack stack, ref global::System.ParameterizedStrings.FormatParam[] dynamicVars, ref global::System.ParameterizedStrings.FormatParam[] staticVars)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6000F9F")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1C890E0", Offset = "0x1C890E0", Length = "0xC")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
111 private static bool AsBool(int i)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6000FA0")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1C890D8", Offset = "0x1C890D8", Length = "0x8")]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 private static int AsInt(bool b)
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x6000FA1")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1C890EC", Offset = "0x1C890EC", Length = "0xC4")]
126 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "FormatPrintF", MemberParameters = new object[]
128 {
129 typeof(string),
130 typeof(object)
131 }, ReturnType = typeof(string))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
134 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
135 private static string StringFromAsciiBytes(byte[] buffer, int offset, int length)
136 {
137 throw null;
138 }
139
140 [global::Cpp2ILInjected.Token(Token = "0x6000FA2")]
141 [global::Cpp2ILInjected.Address(RVA = "0x1C891B0", Offset = "0x1C891B0", Length = "0xCC")]
142 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "FormatPrintF", MemberParameters = new object[]
144 {
145 typeof(string),
146 typeof(object)
147 }, ReturnType = typeof(string))]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
150 [global::System.Runtime.InteropServices.PreserveSig]
151 private unsafe static extern int snprintf(byte* str, global::System.IntPtr size, string format, string arg1);
152
153 [global::Cpp2ILInjected.Token(Token = "0x6000FA3")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1C8927C", Offset = "0x1C8927C", Length = "0xB8")]
155 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "FormatPrintF", MemberParameters = new object[]
157 {
158 typeof(string),
159 typeof(object)
160 }, ReturnType = typeof(string))]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
163 [global::System.Runtime.InteropServices.PreserveSig]
164 private unsafe static extern int snprintf(byte* str, global::System.IntPtr size, string format, int arg1);
165
166 [global::Cpp2ILInjected.Token(Token = "0x6000FA4")]
167 [global::Cpp2ILInjected.Address(RVA = "0x1C88CD4", Offset = "0x1C88CD4", Length = "0x254")]
168 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
169 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
170 {
171 typeof(string),
172 typeof(ref int),
173 typeof(global::System.ParameterizedStrings.FormatParam[]),
175 typeof(ref global::System.ParameterizedStrings.FormatParam[]),
177 }, ReturnType = typeof(string))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "snprintf", MemberParameters = new object[]
180 {
181 typeof(byte*),
182 typeof(global::System.IntPtr),
183 typeof(string),
184 typeof(int)
185 }, ReturnType = typeof(int))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "snprintf", MemberParameters = new object[]
187 {
188 typeof(byte*),
189 typeof(global::System.IntPtr),
190 typeof(string),
191 typeof(string)
192 }, ReturnType = typeof(int))]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ParameterizedStrings), Member = "StringFromAsciiBytes", MemberParameters = new object[]
194 {
195 typeof(byte[]),
196 typeof(int),
197 typeof(int)
198 }, ReturnType = typeof(string))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
201 private unsafe static string FormatPrintF(string format, object arg)
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x6000FA5")]
207 [global::Cpp2ILInjected.Address(RVA = "0x1C88FD4", Offset = "0x1C88FD4", Length = "0x104")]
208 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
209 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
210 {
211 typeof(string),
212 typeof(ref int),
213 typeof(global::System.ParameterizedStrings.FormatParam[]),
215 typeof(ref global::System.ParameterizedStrings.FormatParam[]),
217 }, ReturnType = typeof(string))]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
221 private static global::System.ParameterizedStrings.FormatParam[] GetDynamicOrStaticVariables(char c, ref global::System.ParameterizedStrings.FormatParam[] dynamicVars, ref global::System.ParameterizedStrings.FormatParam[] staticVars, out int index)
222 {
223 throw null;
224 }
225
226 [global::System.ThreadStatic]
227 [global::Cpp2ILInjected.Token(Token = "0x40006C4")]
228 private static global::System.ParameterizedStrings.LowLevelStack _cachedStack;
229
230 [global::Cpp2ILInjected.Token(Token = "0x200018F")]
231 public struct FormatParam
232 {
233 [global::Cpp2ILInjected.Token(Token = "0x6000FA6")]
234 [global::Cpp2ILInjected.Address(RVA = "0x1C89334", Offset = "0x1C89334", Length = "0xC")]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
236 public FormatParam(int value)
237 {
238 throw null;
239 }
240
241 [global::Cpp2ILInjected.Token(Token = "0x6000FA7")]
242 [global::Cpp2ILInjected.Address(RVA = "0x1C89340", Offset = "0x1C89340", Length = "0xC")]
243 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
244 private FormatParam(int intValue, string stringValue)
245 {
246 throw null;
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x6000FA8")]
250 [global::Cpp2ILInjected.Address(RVA = "0x1C86088", Offset = "0x1C86088", Length = "0xC")]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
252 public static implicit operator global::System.ParameterizedStrings.FormatParam(int value)
253 {
254 throw null;
255 }
256
257 [global::Cpp2ILInjected.Token(Token = "0x17000165")]
258 public int Int32
259 {
260 [global::Cpp2ILInjected.Token(Token = "0x6000FA9")]
261 [global::Cpp2ILInjected.Address(RVA = "0x1C8934C", Offset = "0x1C8934C", Length = "0x8")]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
263 get
264 {
265 throw null;
266 }
267 }
268
269 [global::Cpp2ILInjected.Token(Token = "0x17000166")]
270 public string String
271 {
272 [global::Cpp2ILInjected.Token(Token = "0x6000FAA")]
273 [global::Cpp2ILInjected.Address(RVA = "0x1C88C24", Offset = "0x1C88C24", Length = "0x54")]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
275 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
276 get
277 {
278 throw null;
279 }
280 }
281
282 [global::Cpp2ILInjected.Token(Token = "0x17000167")]
283 public object Object
284 {
285 [global::Cpp2ILInjected.Token(Token = "0x6000FAB")]
286 [global::Cpp2ILInjected.Address(RVA = "0x1C88C78", Offset = "0x1C88C78", Length = "0x5C")]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
288 {
289 typeof(string),
290 typeof(ref int),
291 typeof(global::System.ParameterizedStrings.FormatParam[]),
292 "System.ParameterizedStrings.LowLevelStack",
293 typeof(ref global::System.ParameterizedStrings.FormatParam[]),
295 }, ReturnType = typeof(string))]
296 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
297 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
298 get
299 {
300 throw null;
301 }
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x40006C5")]
305 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
306 private readonly int _int32;
307
308 [global::Cpp2ILInjected.Token(Token = "0x40006C6")]
309 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
310 private readonly string _string;
311 }
312
313 [global::Cpp2ILInjected.Token(Token = "0x2000190")]
314 private sealed class LowLevelStack
315 {
316 [global::Cpp2ILInjected.Token(Token = "0x6000FAC")]
317 [global::Cpp2ILInjected.Address(RVA = "0x1C88378", Offset = "0x1C88378", Length = "0x50")]
318 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "Evaluate", MemberParameters = new object[]
319 {
320 typeof(string),
321 typeof(global::System.ParameterizedStrings.FormatParam[])
322 }, ReturnType = typeof(string))]
323 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
326 {
327 throw null;
328 }
329
330 [global::Cpp2ILInjected.Token(Token = "0x6000FAD")]
331 [global::Cpp2ILInjected.Address(RVA = "0x1C88BB0", Offset = "0x1C88BB0", Length = "0x74")]
332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
333 {
334 typeof(string),
335 typeof(ref int),
336 typeof(global::System.ParameterizedStrings.FormatParam[]),
338 typeof(ref global::System.ParameterizedStrings.FormatParam[]),
340 }, ReturnType = typeof(string))]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
343 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
344 public global::System.ParameterizedStrings.FormatParam Pop()
345 {
346 throw null;
347 }
348
349 [global::Cpp2ILInjected.Token(Token = "0x6000FAE")]
350 [global::Cpp2ILInjected.Address(RVA = "0x1C88F28", Offset = "0x1C88F28", Length = "0xAC")]
351 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ParameterizedStrings), Member = "EvaluateInternal", MemberParameters = new object[]
353 {
354 typeof(string),
355 typeof(ref int),
356 typeof(global::System.ParameterizedStrings.FormatParam[]),
358 typeof(ref global::System.ParameterizedStrings.FormatParam[]),
360 }, ReturnType = typeof(string))]
361 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
363 {
364 typeof(global::System.Array),
365 typeof(int),
366 typeof(global::System.Array),
367 typeof(int),
368 typeof(int)
369 }, ReturnType = typeof(void))]
370 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
371 public void Push(global::System.ParameterizedStrings.FormatParam item)
372 {
373 throw null;
374 }
375
376 [global::Cpp2ILInjected.Token(Token = "0x6000FAF")]
377 [global::Cpp2ILInjected.Address(RVA = "0x1C883C8", Offset = "0x1C883C8", Length = "0x28")]
378 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
380 {
381 typeof(global::System.Array),
382 typeof(int),
383 typeof(int)
384 }, ReturnType = typeof(void))]
385 public void Clear()
386 {
387 throw null;
388 }
389
390 [global::Cpp2ILInjected.Token(Token = "0x40006C7")]
391 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
392 private global::System.ParameterizedStrings.FormatParam[] _arr;
393
394 [global::Cpp2ILInjected.Token(Token = "0x40006C8")]
395 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
396 private int _count;
397 }
398 }
399}
class f__AnonymousType0<< Count > j__TPar
void Push(global::System.ParameterizedStrings.FormatParam item)
global::System.ParameterizedStrings.FormatParam[] _arr
global::System.ParameterizedStrings.FormatParam Pop()
static unsafe string FormatPrintF(string format, object arg)
static string Evaluate(string format, params global::System.ParameterizedStrings.FormatParam[] args)
static string StringFromAsciiBytes(byte[] buffer, int offset, int length)
static string EvaluateInternal(string format, ref int pos, global::System.ParameterizedStrings.FormatParam[] args, global::System.ParameterizedStrings.LowLevelStack stack, ref global::System.ParameterizedStrings.FormatParam[] dynamicVars, ref global::System.ParameterizedStrings.FormatParam[] staticVars)
static global::System.ParameterizedStrings.LowLevelStack _cachedStack
static unsafe int snprintf(byte *str, global::System.IntPtr size, string format, string arg1)
static global::System.ParameterizedStrings.FormatParam[] GetDynamicOrStaticVariables(char c, ref global::System.ParameterizedStrings.FormatParam[] dynamicVars, ref global::System.ParameterizedStrings.FormatParam[] staticVars, out int index)
static unsafe int snprintf(byte *str, global::System.IntPtr size, string format, int arg1)
FormatParam(int intValue, string stringValue)