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
ReinterpretCast.cs
Go to the documentation of this file.
1using System;
4
5namespace ReLogic.Utilities
6{
7 // Token: 0x02000B05 RID: 2821
8 public static class ReinterpretCast
9 {
10 // Token: 0x06005283 RID: 21123 RVA: 0x000021DB File Offset: 0x000003DB
11 public static float UIntAsFloat(uint value)
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x06005284 RID: 21124 RVA: 0x000021DB File Offset: 0x000003DB
17 public static float IntAsFloat(int value)
18 {
19 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
20 }
21
22 // Token: 0x06005285 RID: 21125 RVA: 0x000021DB File Offset: 0x000003DB
23 public static uint FloatAsUInt(float value)
24 {
25 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
26 }
27
28 // Token: 0x06005286 RID: 21126 RVA: 0x000021DB File Offset: 0x000003DB
29 public static int FloatAsInt(float value)
30 {
31 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
32 }
33
34 // Token: 0x02000B06 RID: 2822
35 [StructLayout(2)]
36 private struct IntFloat
37 {
38 // Token: 0x06005287 RID: 21127 RVA: 0x00283204 File Offset: 0x00281404
39 public IntFloat(int value)
40 {
42 }
43
44 // Token: 0x06005288 RID: 21128 RVA: 0x00283218 File Offset: 0x00281418
45 public IntFloat(float value)
46 {
47 }
48
49 // Token: 0x04008ACB RID: 35531
50 public readonly int IntValue;
51
52 // Token: 0x04008ACC RID: 35532
53 public readonly float FloatValue;
54 }
55
56 // Token: 0x02000B07 RID: 2823
57 [StructLayout(2)]
58 private struct UIntFloat
59 {
60 // Token: 0x06005289 RID: 21129 RVA: 0x00283228 File Offset: 0x00281428
61 public UIntFloat(uint value)
62 {
64 }
65
66 // Token: 0x0600528A RID: 21130 RVA: 0x0028323C File Offset: 0x0028143C
67 public UIntFloat(float value)
68 {
69 }
70
71 // Token: 0x04008ACD RID: 35533
72 public readonly uint UIntValue;
73
74 // Token: 0x04008ACE RID: 35534
75 public readonly float FloatValue;
76 }
77 }
78}
class f__AnonymousType0<< Count > j__TPar
static float UIntAsFloat(uint value)
static float IntAsFloat(int value)
static int FloatAsInt(float value)
static uint FloatAsUInt(float value)