benilla-re systems structs docs

ItemObjectLink

function · ui · orchestration

Address
0x52ae00 · 238 bytes, up to 0x52aeed
Signature
const char * __thiscall (void *this)
Meaning
Builds the link text of an item object from its entry, quality, name and enchant, suffix and unique numbers
Confidence
verified, proof one
Finding
ui/tooltip#item-object-link

Finding: Item object link in ui: GameTooltip, the widget

0x52ae00(item) builds the link text of an item object, or answers 0 for a null object. It reads the item's cached record by the entry at [[item+8]+0xc] (quality at +0x1c of the record, 1 when none), writes the item's name to a 0x100-byte buffer (0x5d8bc0) and, unless the item's flag word has bit 3 (wrapped), takes [block+0x94], [block+0x98] and, when the item record's flags lack 0x2000 (a charter; the +0x110 vtable's slot, objectlayer/items), the dword at +0x40 of its descriptor block. It calls 0x52adb0(entry, quality, enchant, suffix, unique, name); a wrapped item passes 0 for all three numbers.

The derivation is in the doc.

Callers 3

Callees 3

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