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
MiscellaneousUtils.cs
Go to the documentation of this file.
1using System;
4using System.Xml;
11
13{
14 [Preserve]
15 [global::Cpp2ILInjected.Token(Token = "0x200006F")]
16 internal static class MiscellaneousUtils
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x60003E5")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1CDAF38", Offset = "0x1CDAF38", Length = "0x2B0")]
20 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "CalculatePropertyDetails", MemberParameters = new object[]
22 {
28 typeof(object),
29 typeof(ref bool),
30 typeof(ref object),
32 typeof(ref bool)
33 }, ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ShouldSetPropertyValue", MemberParameters = new object[]
35 {
37 typeof(object)
38 }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "ShouldWriteProperty", MemberParameters = new object[]
40 {
41 typeof(object),
43 }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "ShouldWriteDynamicProperty", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(Type))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ConvertUtils), Member = "IsInteger", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_CurrentCulture", ReturnType = typeof(CultureInfo))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToDecimal", MemberParameters = new object[]
50 {
51 typeof(object),
53 }, ReturnType = typeof(decimal))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(decimal), Member = "Equals", MemberParameters = new object[] { typeof(decimal) }, ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Convert), Member = "ToDouble", MemberParameters = new object[]
56 {
57 typeof(object),
59 }, ReturnType = typeof(double))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathUtils), Member = "ApproxEquals", MemberParameters = new object[]
61 {
62 typeof(double),
63 typeof(double)
64 }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
66 public static bool ValueEquals(object objA, object objB)
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x60003E6")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1CCC014", Offset = "0x1CCC014", Length = "0xF8")]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonWriter), Member = "WriteToken", MemberParameters = new object[]
74 {
76 typeof(object)
77 }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DateTimeUtils), Member = "ToSerializationMode", MemberParameters = new object[] { typeof(DateTimeKind) }, ReturnType = typeof(XmlDateTimeSerializationMode))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JTokenReader), Member = "GetEndToken", MemberParameters = new object[] { typeof(JContainer) }, ReturnType = typeof(JsonToken?))]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JTokenReader), Member = "SetToken", MemberParameters = new object[] { typeof(JToken) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JValue), Member = "Compare", MemberParameters = new object[]
82 {
84 typeof(object),
85 typeof(object)
86 }, ReturnType = typeof(int))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JValue), Member = "WriteTo", MemberParameters = new object[]
88 {
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Environment), Member = "get_NewLine", ReturnType = typeof(string))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringUtils), Member = "FormatWith", MemberParameters = new object[]
96 {
97 typeof(string),
99 typeof(object)
100 }, ReturnType = typeof(string))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
102 {
103 typeof(string),
104 typeof(string),
105 typeof(string)
106 }, ReturnType = typeof(string))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(string)
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x60003E7")]
119 [global::Cpp2ILInjected.Address(RVA = "0x1CDB1E8", Offset = "0x1CDB1E8", Length = "0xAC")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JConstructor), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(JToken))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JConstructor), Member = "set_Item", MemberParameters = new object[]
123 {
124 typeof(object),
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JObject), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(JToken))]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JObject), Member = "set_Item", MemberParameters = new object[]
129 {
130 typeof(object),
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JArray), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(JToken))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JArray), Member = "set_Item", MemberParameters = new object[]
135 {
136 typeof(object),
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
141 {
142 typeof(string),
143 typeof(string),
144 typeof(string)
145 }, ReturnType = typeof(string))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
147 public static string ToString(object value)
148 {
149 throw null;
150 }
151
152 [global::Cpp2ILInjected.Token(Token = "0x60003E8")]
153 [global::Cpp2ILInjected.Address(RVA = "0x1CDB294", Offset = "0x1CDB294", Length = "0x80")]
154 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JValue), Member = "Compare", MemberParameters = new object[]
156 {
158 typeof(object),
159 typeof(object)
160 }, ReturnType = typeof(int))]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "CompareTo", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(byte), Member = "CompareTo", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(int))]
164 public static int ByteArrayCompare(byte[] a1, byte[] a2)
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x60003E9")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1CDB314", Offset = "0x1CDB314", Length = "0x24")]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XmlNodeConverter), Member = "ReadElement", MemberParameters = new object[]
172 {
176 typeof(string),
178 }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XmlNodeConverter), Member = "CreateElement", MemberParameters = new object[]
180 {
184 typeof(string),
186 typeof(string),
188 }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XmlNodeConverter), Member = "ReadArrayElements", MemberParameters = new object[]
190 {
193 typeof(string),
196 }, ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MiscellaneousUtils), Member = "GetQualifiedNameParts", MemberParameters = new object[]
199 {
200 typeof(string),
201 typeof(ref string),
202 typeof(ref string)
203 }, ReturnType = typeof(void))]
204 public static string GetPrefix(string qualifiedName)
205 {
206 throw null;
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x60003EA")]
210 [global::Cpp2ILInjected.Address(RVA = "0x1CDB3C4", Offset = "0x1CDB3C4", Length = "0x24")]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XDocumentWrapper), Member = "CreateElement", MemberParameters = new object[]
212 {
213 typeof(string),
214 typeof(string)
215 }, ReturnType = typeof(IXmlElement))]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(XDocumentWrapper), Member = "CreateAttribute", MemberParameters = new object[]
217 {
218 typeof(string),
219 typeof(string),
220 typeof(string)
221 }, ReturnType = typeof(IXmlNode))]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MiscellaneousUtils), Member = "GetQualifiedNameParts", MemberParameters = new object[]
224 {
225 typeof(string),
226 typeof(ref string),
227 typeof(ref string)
228 }, ReturnType = typeof(void))]
229 public static string GetLocalName(string qualifiedName)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x60003EB")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1CDB338", Offset = "0x1CDB338", Length = "0x8C")]
236 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiscellaneousUtils), Member = "GetPrefix", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
238 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiscellaneousUtils), Member = "GetLocalName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
242 {
243 typeof(int),
244 typeof(int)
245 }, ReturnType = typeof(string))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
247 public static void GetQualifiedNameParts(string qualifiedName, out string prefix, out string localName)
248 {
249 throw null;
250 }
251
252 [global::Cpp2ILInjected.Token(Token = "0x60003EC")]
253 [global::Cpp2ILInjected.Address(RVA = "0x1CDB3E8", Offset = "0x1CDB3E8", Length = "0xB0")]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "EnsureType", MemberParameters = new object[]
256 {
258 typeof(object),
261 typeof(Type)
262 }, ReturnType = typeof(object))]
263 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringEnumConverter), Member = "ReadJson", MemberParameters = new object[]
264 {
266 typeof(Type),
267 typeof(object),
269 }, ReturnType = typeof(object))]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
272 {
273 typeof(object),
274 typeof(object),
275 typeof(object)
276 }, ReturnType = typeof(string))]
277 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
278 internal static string FormatValueForPrint(object value)
279 {
280 throw null;
281 }
282 }
283}
class f__AnonymousType0<< Count > j__TPar
static void GetQualifiedNameParts(string qualifiedName, out string prefix, out string localName)
static string GetLocalName(string qualifiedName)
static string GetPrefix(string qualifiedName)
static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(string paramName, object actualValue, string message)
static int ByteArrayCompare(byte[] a1, byte[] a2)
static bool ValueEquals(object objA, object objB)