benilla-re systems structs docs

GetChatTypeColor

function · ui · primitive

Address
0x49e990 · 59 bytes, up to 0x49e9ca
Signature
void __fastcall (uint32_t *out, int32_t type)
Meaning
Writes a chat type's registry colour as 0xffRRGGBB, or white for a type of 94 or more
Confidence
verified, proof one
Finding
ui/chatcolors#a-chat-types-colour
Test
ui::chat_type_colour

Finding: A chat type's colour in ui: chat colours

0x49e990(out, type) writes the type's live colour to out as 0xffRRGGBB, alpha 0xff and the three bytes of the registry entry in order. A type of 94 or more writes 0xffffffff; the bound is signed, so a negative type reads outside the registry. The chat bubble takes its colour from it.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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