benilla-re systems structs docs

CGPlayer_C::Update

function · objectlayer · primitive

Address
0x5ec950 · 129 bytes, up to 0x5ec9d0
Signature
void __thiscall (CGPlayer_C *this, uint32_t time)
Meaning
Updates the unit, then repeats the active player's attack error every 4 s (vtable slot 14)
Confidence
verified, proof one
Finding
objectlayer/players#attack-error-repeat

Finding: Attack error repeat in objectlayer: players

Every frame the active player with a melee target (+0xc48) shows ERR_BADATTACKPOS (0xd8) when 0xc4d758 is 1 or ERR_BADATTACKFACING (0xd7) when it is 2, at most once per 4,000 ms. 0x5ecdb0(state) sets the state and restarts the delay.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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