-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtoc.py
62 lines (59 loc) · 1.76 KB
/
rtoc.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from numpy import float32
RTOC = { # 0x804836a0, stored in r2
# lfs
-0x5EDC: float32(2.0),
-0x5E88: float32(3.1415927410125732),
-0x5F00: float32(0.0),
-0x5E00: float32(2500.0),
-0x6A40: float32(1.0),
-0x6A3C: float32(-1.0),
-0x5E70: float32(0.4),
-0x5F04: float32(1.0),
-0x5E2C: float32(0.6),
-0x5EFC: float32(0.5),
-0x73E0: float32(0.5),
-0x73DC: float32(3.0),
-0x73D0: float32(0.5),
-0x5EE0: float32(6.28319),
# lfd
-0x6D48: 0.0,
-0x6EC8: 4503601774854144.0,
-0x6ED0: 16777216.0,
-0x6F18: 0.0,
-0x6EE8: 0.6366197723675814,
-0x6EF0: 0.5,
-0x6F10: 1.5707963267341256,
-0x6F08: float("6.077100506506192e-11"),
-0x6F00: float("6.077100506303966e-11"),
-0x6EF8: float("2.0222662487959506e-21"),
-0x6EE0: float("2.0222662487111665e-21"),
-0x6ED8: float("8.4784276603689e-32"),
-0x6EC0: 1.0,
-0x6E90: float("-1.1359647557788195e-11"),
-0x6E98: float("2.087572321298175e-09"),
-0x6EA0: float("-2.7557314351390663e-07"),
-0x6EA8: float("2.480158728947673e-05"),
-0x6EB0: float("-0.001388888888887411"),
-0x6EB8: 0.0416666666666666,
-0x6E80: 0.28125,
-0x6E88: 0.5,
-0x6E18: float("1.58969099521155e-10"),
-0x6E20: float("-2.5050760253406863e-08"),
-0x6E28: float("2.7557313707070068e-06"),
-0x6E30: -0.0001984126982985795,
-0x6E38: 0.00833333333332249,
-0x6E08: 0.5,
-0x6E10: -0.16666666666666632,
-0x6D90: 0.0,
-0x5ED0: 4503599627370496.0,
-0x5ED8: 4503601774854144.0,
-0x5EB0: 6.283185307179586,
-0x5EF8: 3.141592653589793,
-0x5E80: -3.141592653589793,
-0x7128: float("1.2246467991473532e-16"),
-0x7178: 3.141592653589793,
-0x6DA8: -1.0,
-0x6DB8: 2.0,
-0x6DC0: 1.0,
-0x6DB0: 1.5,
}