CMovement::AddPlayerMoveEvent
function · collision · orchestration
- Address
0x6176a0· 135 bytes, up to0x617726- Signature
void __thiscall (CMovement *this, uint32_t time, uint32_t tag, uint8_t send, uint32_t counter, uint32_t value, const void *status)- Meaning
- Queues an event with a value and an optional status snapshot; a lone event with a status starts the blends
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/events#insertion-in-time-order
Finding: Insertion in time order in collision: events
Each adder allocates a node, fills it, inserts it and adds the movement to the active list
(0x619ca0). The insert 0x615820 links the new node before the first node for which new time
minus node time is negative as a signed 32-bit difference, else at the end, so equal
times keep arrival order. 0x617570 copies a position, facing and pitch; 0x6176a0 a value at
+0x38 and, given a status, the snapshot through 0x617730; 0x6177a0 the knockback payload and
an optional status. Each stores the send byte at +0x4d and the counter at +0x48. Given a status
and a queue empty before the insert, 0x6176a0 and 0x6177a0 then call 0x619030 and
0x619090 with the time at globals +0x128 (0x630a40).
The derivation is in the doc.
Callers 14
- CMovement::UpdateStatus collision
- CMovement::UpdateFacingStatus collision
- CMovement::QueueForcedRun collision
- CMovement::QueueRun collision
- CMovement::QueueForcedRunBack collision
- CMovement::QueueRunBack collision
- CMovement::QueueForcedWalk collision
- CMovement::QueueWalk collision
- CMovement::QueueForcedSwim collision
- CMovement::QueueSwim collision
- CMovement::QueueForcedSwimBack collision
- CMovement::QueueSwimBack collision
- CMovement::QueueForcedTurnRate collision
- CMovement::QueueTurnRate collision
Callees 8
- InsertMoveEventByTime collision
- HasMoveEvents collision
- AllocPlayerMoveEvent collision
- CPlayerMoveEvent::FromMoveStatus collision
- CMovement::ArmFacingBlend collision
- CMovement::ArmPositionBlend collision
- CMovement::Activate collision
- MovementGetGlobals collision
Calls and jumps by a bare address, from tables/calls.tsv.