SetAttackErrorState
function · objectlayer · orchestration
- Address
0x5ecdb0· 17 bytes, up to0x5ecdc0- Signature
void __fastcall (uint32_t state)- Meaning
- Sets the attack error state 0xc4d758 and restarts its delay from now
- 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 3
- AddPlayerTypeWatchers objectlayer
- CGPlayer_C::OnAttackStart objectlayer
- HandleUnitCombatMessage objectlayer
Callees 1
- OsGetAsyncTimeMs core
Calls and jumps by a bare address, from tables/calls.tsv.