benilla-re systems structs docs

CGTooltip::FormatUnitOwner

function · ui · primitive

Address
0x52fd30 · 264 bytes, up to 0x52fe37
Signature
void __fastcall (CGTooltip *arg1, char *out, uint32_t size)
Meaning
Writes the owner title line of a charmed or created unit, or nothing without an owner
Confidence
verified, proof one
Finding
ui/tooltipunit#the-subtitle-and-owner-lines

Finding: The subtitle and owner lines in ui: The unit tooltip

A creature adds its subtitle in white, and a unit that has an owner adds a white line naming it. The owner line is the owner's name inside one of four texts: UNITNAME_TITLE_PET for a charmed beast, UNITNAME_TITLE_MINION for any other charmed unit, UNITNAME_TITLE_GUARDIAN or UNITNAME_TITLE_CREATION for a unit made by a spell whose first effect summons a guardian or an object. A unit with no owner, or whose owner is not in sight, has no such line.

The derivation is in the doc.

Callers 2

Callees 5

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