CMovement::QueueRunMode
function · collision · primitive
- Address
0x617de0· 65 bytes, up to0x617e20- Signature
void __thiscall (CMovement *this, uint32_t time, uint32_t walking)- Meaning
- Queues tag 14 for a nonzero argument, else tag 15, to be sent
- Confidence
- verified, proof one
- Finding
- collision/events#pitch-mode-and-swim-tags
Finding: Pitch, mode and swim tags in collision: events
| tag | event, drain setter | drain opcode | queued by | applied now by |
|---|---|---|---|---|
| 11 | pitch up, 0x7c6df0(1) | 0xbf | 0x61a240, argument nonzero | 0x61a290 |
| 12 | pitch down, 0x7c6df0(0) | 0xc0 | 0x61a240, argument zero | 0x61a290 |
| 13 | stop pitch, 0x7c6e30 | 0xc1 | 0x61a2e0 | 0x61a320 |
| 14 | run mode, 0x7c71c0(1) clears 0x100 | 0xc2 | 0x617de0, argument nonzero | 0x617e30 |
| 15 | walk mode, 0x7c71c0(0) sets 0x100 | 0xc3 | 0x617de0, argument zero | 0x617e30 |
| 16 | set facing, 0x7c6f30 | 0xda | 0x619860 | 0x619280 |
| 17 | set pitch, 0x7c6f70 through 0x615bc0 | 0xdb, or 0xee | 0x6198a0 | 0x619960 |
| 18 | start swim, 0x61a230 | 0xca | 0x619fb0 (send 1), 0x61a030 (send 0) | 0x61a190 |
| 19 | stop swim, 0x7c6e80 | 0xcb | 0x61a070 (send 1), 0x61a0f0 (send 0) | 0x61a1f0 |
| 37 | no case of its own | none | none | 0x61a750 |
0x617de0 is reached only through 0x60e060, which 0x60e080 calls with the walk bit,
[unit+0x9e8] & 0x100, so that a walking unit queues 14 and a running one 15; 0x5ee10e calls
0x60e060 with 1, which queues 14.
The derivation is in the doc.
Callers 1
- CGUnit_C::SetRunMode objectlayer
Callees 1
- CMovement::AddPositionMoveEvent collision
Calls and jumps by a bare address, from tables/calls.tsv.