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
MathUtils.cs
Go to the documentation of this file.
1using System;
7
9{
10 [Preserve]
11 [global::Cpp2ILInjected.Token(Token = "0x200006D")]
12 internal static class MathUtils
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x60003DB")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1CDA9F8", Offset = "0x1CDA9F8", Length = "0x1C4")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonPosition), Member = "CalculateLength", ReturnType = typeof(int))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonTextWriter), Member = "WriteIntegerValue", MemberParameters = new object[] { typeof(ulong) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BsonBinaryWriter), Member = "WriteTokenInternal", MemberParameters = new object[] { typeof(BsonToken) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BsonBinaryWriter), Member = "CalculateSize", MemberParameters = new object[] { typeof(BsonToken) }, ReturnType = typeof(int))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
22 public static int IntLength(ulong i)
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x60003DC")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1CDABBC", Offset = "0x1CDABBC", Length = "0x18")]
29 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 public static char IntToHex(int n)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x60003DD")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1CDABD4", Offset = "0x1CDABD4", Length = "0xE0")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
40 {
41 typeof(int),
42 typeof(int)
43 }, ReturnType = typeof(int))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
46 public static int? Min(int? val1, int? val2)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x60003DE")]
52 [global::Cpp2ILInjected.Address(RVA = "0x1CDACB4", Offset = "0x1CDACB4", Length = "0xE0")]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
55 {
56 typeof(int),
57 typeof(int)
58 }, ReturnType = typeof(int))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
61 public static int? Max(int? val1, int? val2)
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x60003DF")]
67 [global::Cpp2ILInjected.Address(RVA = "0x1CDAD94", Offset = "0x1CDAD94", Length = "0xFC")]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
70 {
71 typeof(double),
72 typeof(double)
73 }, ReturnType = typeof(double))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(double?), Member = ".ctor", MemberParameters = new object[] { typeof(double) }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
76 public static double? Max(double? val1, double? val2)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x60003E0")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1CDAE90", Offset = "0x1CDAE90", Length = "0xA8")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MiscellaneousUtils), Member = "ValueEquals", MemberParameters = new object[]
85 {
86 typeof(object),
87 typeof(object)
88 }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JValue), Member = "CompareFloat", MemberParameters = new object[]
90 {
91 typeof(object),
92 typeof(object)
93 }, ReturnType = typeof(int))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
96 public static bool ApproxEquals(double d1, double d2)
97 {
98 throw null;
99 }
100 }
101}
class f__AnonymousType0<< Count > j__TPar
static bool ApproxEquals(double d1, double d2)
Definition MathUtils.cs:96
static ? int Min(int? val1, int? val2)
Definition MathUtils.cs:46
static ? double Max(double? val1, double? val2)
Definition MathUtils.cs:76
static ? int Max(int? val1, int? val2)
Definition MathUtils.cs:61
static int IntLength(ulong i)
Definition MathUtils.cs:22