benilla-re systems structs docs

CGPlayer_C::GetStandState

function · objectlayer · orchestration

Address
0x5ed570 · 53 bytes, up to 0x5ed5a4
Signature
uint32_t __thiscall (CGPlayer_C *this)
Meaning
Returns the active player's local stand state, else UNIT_FIELD_BYTES_1 byte 0 (vtable slot 41)
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 0

None by a direct call or jump.

Callees 1

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