benilla-re systems structs docs

ProcessLocalMoveEvent

function · objectlayer · primitive

Address
0x60e0a0 · 857 bytes, up to 0x60e3f8
Signature
int __thiscall (void *this, uint32_t time, uint32_t opcode, uint8_t send, float value, uint32_t counter)
Meaning
Sends a movement opcode for a unit when send is nonzero, runs its reaction, then drains a pending interaction
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/moveemitter#emitter-routing
Test
objectlayer::move_event_move_deadband

Finding: Emitter routing in objectlayer: movement emitter

0x60e0a0(time, opcode, send, value, counter) sends the opcode for the unit only when send is nonzero (0x60e1bb test al,al; je 0x60e300), but every call, sent or not, runs the tail. Before it sends, the opcode picks one of three paths. Opcodes 0xb7, 0xba, 0xbc to 0xbe, 0xc7, 0xd7 to 0xda, 0xe3, 0xe5, 0xe7, 0xe9, 0xeb, 0x2ad, 0x2cf, 0x2db, 0x2dd and 0x2df go straight to the send; 0xbf to 0xc1 and 0xdb send only while the movement flags hold swimming (0x200000), else return 0; every other opcode, including 0xf0, first runs the reactions below. 0xc7 builds its own message: the raw GUID, the counter and the value.

The derivation is in the doc.

Callers 8

Callees 20

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