s_twiceGravity
global · collision
- Address
0x81da64· 4 bytes, up to0x81da67- Type
float- Meaning
- Holds 2g, 38.582211 (0x421a542f)
- Confidence
- verified, proof one
- Finding
- collision/falling#arc-fields-and-constants
Finding: Arc fields and constants in collision: falling
The vertical speed is down-positive: a positive +0xa0 falls and a jump launches at a negative
one. A body t seconds into the arc is at +0x7c − D(t). Gravity g is 19.291105 (0x419a542f,
at 0x81da58). The cap T is [0x87d894], 60.148003 (0x4270978e), or [0x87d898], 7.0
(0x40e00000), whenever flag 0x20000000 is set. The other constants are the float roundings of
g's multiples:
| address | value | dword | is |
|---|---|---|---|
0x81da60 | 9.6455526 | 0x411a542f | g/2 |
0x81da64 | 38.582211 | 0x421a542f | 2g |
0x80e020 | 0.051837362 | 0x3d54536a | 1/g |
0x81da5c | −0.051837362 | 0xbd54536a | −1/g |
0x81da68 | 0.10367472 | 0x3dd4536a | 2/g |
0x81da6c | 0.025918681 | 0x3cd4536a | 1/(2g) |
0x81da70 | −2⁻²² | 0xb4800000 | rising limit |
The derivation is in the doc.