CheckEmoteEligible
function · objectlayer · primitive
- Address
0x47db40· 141 bytes, up to0x47dbcc- Signature
uint32_t __thiscall (void *this, uint32_t flags, uint32_t mode, uint32_t *standStill)- Meaning
- Tells whether an Emotes row's flags allow the unit to perform it by stand state and movement
- Confidence
- verified, proof one
- Finding
- objectlayer/interaction#emote-eligibility
Finding: Emote eligibility in objectlayer: interaction
0x47db40(flags, mode, out) decides whether an Emotes row, by its flags +0xc, may be performed
by the unit. It refuses, in order: with mode set and flag 0x400; flag 0x1 unless the stand state
is 0; flag 0x80 while the mover swims (0x200000); a sleeping or dead stand state (3 or 7) unless
flag 0x200 allows it. Flag 0x4000 with any of the movement bits 0x20ff sets out to 1, the
mark that the emote needs standing still. Anything else is eligible.
The derivation is in the doc.
Callers 1
- CGPlayer_C::SendTextEmote objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.