s_splineToggleCases
global · objectlayer
- Address
0x601510· 52 bytes, up to0x601543- Type
void *[13]- Meaning
- Holds the 13 case addresses of the switch in 0x601420
- Confidence
- verified, proof two
- Finding
- objectlayer/unitmovement#spline-toggles
Finding: Spline toggles in objectlayer: unit movement
0x601420 maps opcodes 0x304 to 0x31a through the byte table 0x601544 to the case table
0x601510; opcodes 0x30f to 0x319 return 0. After a case it calls 0x60e480(opcode) and
0x5fd9e0(-1) and returns 1.
| opcode | mover call |
|---|---|
| 0x304, 0x31a | unroot 0x619a40, root 0x619a10 |
| 0x305, 0x306 | feather fall 0x61a4e0 on, off |
| 0x307, 0x308 | hover 0x61a620 on, off |
| 0x309, 0x30a | water walk 0x61a3d0 on, off |
| 0x30b, 0x30c | swim start 0x61a130, stop 0x61a160 |
| 0x30d, 0x30e | run mode 0x617e80 with 1, 0 |
The derivation is in the doc.