terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
MathUtils.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200006D RID: 109
9 internal static class MathUtils
10 {
11 // Token: 0x060003DB RID: 987 RVA: 0x0000AD4C File Offset: 0x00008F4C
12 public static int IntLength(ulong i)
13 {
14 return 1;
15 }
16
17 // Token: 0x060003DC RID: 988 RVA: 0x0000212A File Offset: 0x0000032A
18 public static char IntToHex(int n)
19 {
20 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
21 }
22
23 // Token: 0x060003DD RID: 989 RVA: 0x0000AD8C File Offset: 0x00008F8C
24 public static int? Min(int? val1, int? val2)
25 {
26 return val1;
27 }
28
29 // Token: 0x060003DE RID: 990 RVA: 0x0000AD9C File Offset: 0x00008F9C
30 public static int? Max(int? val1, int? val2)
31 {
32 return val1;
33 }
34
35 // Token: 0x060003DF RID: 991 RVA: 0x0000ADAC File Offset: 0x00008FAC
36 public static double? Max(double? val1, double? val2)
37 {
38 }
39
40 // Token: 0x060003E0 RID: 992 RVA: 0x0000ADBC File Offset: 0x00008FBC
41 public static bool ApproxEquals(double d1, double d2)
42 {
43 return true;
44 }
45 }
46}
class f__AnonymousType0<< Count > j__TPar
static bool ApproxEquals(double d1, double d2)
Definition MathUtils.cs:41
static ? int Min(int? val1, int? val2)
Definition MathUtils.cs:24
static ? double Max(double? val1, double? val2)
Definition MathUtils.cs:36
static ? int Max(int? val1, int? val2)
Definition MathUtils.cs:30
static int IntLength(ulong i)
Definition MathUtils.cs:12