benilla-re systems structs docs

ComposeTextEmote

function · ui · orchestration

Address
0x49b200 · 761 bytes, up to 0x49b4f8
Signature
void __fastcall (uint64_t *performer, int32_t textId, const char *targetName, uint32_t emoteNum)
Meaning
Picks the template of a text emote and shows its sentence as an event line
Confidence
verified, proof one
Finding
ui/chatemote#the-sentence-column

Finding: The sentence column in ui: received text emotes

The composer returns without a line when the target name pointer is null (last error 0x57), the active player object is missing, the performer has no name record, or the text id is negative, past the EmotesText maximum or without a row. The row holds the sixteen EmotesTextData ids EmoteText[0..15] at +0xc; the column is gender | untargeted | performerIsMe | targetIsMe.

bitvalueset when
01the performer is not the active player and the target name equals the player's own name (SStrCmp, case-sensitive)
12the performer GUID is the active player's; the target compare is skipped
24the target name is empty
38the performer record's +0x13c is 1

The derivation is in the doc.

Callers 2

Callees 10

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