CMovement::ApplyMoveStop
function · collision · orchestration
- Address
0x617b60· 102 bytes, up to0x617bc5- Signature
uint32_t __thiscall (CMovement *this, uint32_t time, const void *status)- Meaning
- Applies a move stop now with tag 2; returns 1 when it stops and no strafe bit stays set
- Confidence
- verified, proof one
- Finding
- collision/events#apply-now-or-queue
Finding: Apply now or queue in collision: events
Each apply-now function passes its tag to 0x618f20(time, status, tag, value). When that returns
0 the event stays queued and the function returns 0; otherwise it applies:
| function | tag | on apply | returns |
|---|---|---|---|
0x617520, 0x6178e0 | 0/1, 3/4 | 0x7c6ae0 or 0x7c6c50, then 0x619ca0 if it returned nonzero | 1 when both ran |
0x617970 | 7 | 0x7c6230(1), then 0x619ca0 if nonzero | 1 when both ran |
0x617cf0 | 8/9 | 0x617c80(left), 0x619ca0 | 1 |
0x617b60 | 2 | 0x7c6b70(flags before); idle check | 1 when it stopped and no 0xc bit is set |
0x617c10 | 5 | 0x7c6d00(flags before); idle check | 1 when it stopped and no 0x3 bit is set |
0x617d80 | 10 | 0x7c6dd0; idle check | what 0x7c6dd0 returned |
0x617e30 | 14/15 | 0x7c71c0(run) | 1 |
The idle check removes the movement from the active list, 0x619e80(1), when no flag of 0x20ff
is set and the queue is empty; 0x618940 makes that test and otherwise adds it.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnMoveStop objectlayer
Callees 4
- HasMoveEvents collision
- CMovement::UpdateStatus collision
- CMovement::Deactivate collision
- CMovement::StopMoveOnGround collision
Calls and jumps by a bare address, from tables/calls.tsv.