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.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Cpp2IlInjected
;
4
5
namespace
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
{
41
this.IntValue
=
value
;
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
{
63
this.UIntValue
=
value
;
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
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
ReLogic.Utilities.ReinterpretCast.UIntAsFloat
static float UIntAsFloat(uint value)
Definition
ReinterpretCast.cs:11
ReLogic.Utilities.ReinterpretCast.IntAsFloat
static float IntAsFloat(int value)
Definition
ReinterpretCast.cs:17
ReLogic.Utilities.ReinterpretCast.FloatAsInt
static int FloatAsInt(float value)
Definition
ReinterpretCast.cs:29
ReLogic.Utilities.ReinterpretCast.FloatAsUInt
static uint FloatAsUInt(float value)
Definition
ReinterpretCast.cs:23
ReLogic.Utilities.ReinterpretCast
Definition
ReinterpretCast.cs:9
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
ReLogic.Utilities
Definition
AttributeUtilities.cs:6
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
ReLogic.Utilities.ReinterpretCast.IntFloat.IntFloat
IntFloat(int value)
Definition
ReinterpretCast.cs:39
ReLogic.Utilities.ReinterpretCast.IntFloat.IntValue
readonly int IntValue
Definition
ReinterpretCast.cs:50
ReLogic.Utilities.ReinterpretCast.IntFloat.FloatValue
readonly float FloatValue
Definition
ReinterpretCast.cs:53
ReLogic.Utilities.ReinterpretCast.IntFloat.IntFloat
IntFloat(float value)
Definition
ReinterpretCast.cs:45
ReLogic.Utilities.ReinterpretCast.IntFloat
Definition
ReinterpretCast.cs:37
ReLogic.Utilities.ReinterpretCast.UIntFloat.FloatValue
readonly float FloatValue
Definition
ReinterpretCast.cs:75
ReLogic.Utilities.ReinterpretCast.UIntFloat.UIntFloat
UIntFloat(float value)
Definition
ReinterpretCast.cs:67
ReLogic.Utilities.ReinterpretCast.UIntFloat.UIntFloat
UIntFloat(uint value)
Definition
ReinterpretCast.cs:61
ReLogic.Utilities.ReinterpretCast.UIntFloat.UIntValue
readonly uint UIntValue
Definition
ReinterpretCast.cs:72
ReLogic.Utilities.ReinterpretCast.UIntFloat
Definition
ReinterpretCast.cs:59
source
ReLogic
Utilities
ReinterpretCast.cs
Generated by
1.10.0