benilla-re systems structs docs

CMovement::QueueRunMode

function · collision · primitive

Address
0x617de0 · 65 bytes, up to 0x617e20
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

tagevent, drain setterdrain opcodequeued byapplied now by
11pitch up, 0x7c6df0(1)0xbf0x61a240, argument nonzero0x61a290
12pitch down, 0x7c6df0(0)0xc00x61a240, argument zero0x61a290
13stop pitch, 0x7c6e300xc10x61a2e00x61a320
14run mode, 0x7c71c0(1) clears 0x1000xc20x617de0, argument nonzero0x617e30
15walk mode, 0x7c71c0(0) sets 0x1000xc30x617de0, argument zero0x617e30
16set facing, 0x7c6f300xda0x6198600x619280
17set pitch, 0x7c6f70 through 0x615bc00xdb, or 0xee0x6198a00x619960
18start swim, 0x61a2300xca0x619fb0 (send 1), 0x61a030 (send 0)0x61a190
19stop swim, 0x7c6e800xcb0x61a070 (send 1), 0x61a0f0 (send 0)0x61a1f0
37no case of its ownnonenone0x61a750

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

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.