benilla-re systems structs docs

CGPlayer_C::SetLocalStandState

function · objectlayer · orchestration

Address
0x5f0790 · 97 bytes, up to 0x5f07f0
Meaning
Keeps a new local stand state, resuming input for 0 or ending looting and the attack otherwise
Confidence
verified, proof one
Finding
objectlayer/interaction#stand-state

Finding: Stand state in objectlayer: interaction

0x5ed430(state) sends 0x101 for the active player unless it is channelling or busy, mounted, under UNIT_FIELD_FLAGS 0x100000, dead or a cast is in progress; any state but 0 needs the mover without flags 0x20000f, and state 3 also without 0x30. After the send the unit runs CGUnit_C::OnStandStateChanged, which keeps the local state +0x1d68 through 0x5f0790: state 0 calls 0x514640 on the input control, another state ends looting and the melee attack.

The derivation is in the doc.

Callers 1

Callees 7

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