benilla-re systems structs docs

CGTooltip::BuildUnit

function · ui · primitive

Address
0x529fe0 · 2613 bytes, up to 0x52aa14
Signature
uint32_t __thiscall (CGTooltip *this, const uint64_t *guid)
Meaning
Adds the lines of a unit tooltip for a unit in sight, or a party member or party pet record
Confidence
verified, proof one
Finding
ui/tooltipunit#who-the-builder-describes
Test
ui::glue_512_529fe0_percent_quantize

Finding: Who the builder describes in ui: The unit tooltip

0x529fe0(this = tooltip; GUID pointer) clears the tooltip and resolves the GUID three ways: the unit object (type mask 8), the party member record, and the record of the party member whose pet has the GUID. With none of the three it hides the tooltip and returns. Otherwise it stores the GUID at +0x368 and +0x36c, fills the health bar and adds the lines. Every path ends by showing the tooltip and returning 0.

The derivation is in the doc.

Callers 3

Callees 29

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