benilla-re systems structs docs

CGTooltip::OnCacheAnswer

function · ui · orchestration

Address
0x52e530 · 141 bytes, up to 0x52e5bc
Signature
void __stdcall (CGTooltip *tooltip, uint8_t found)
Meaning
Rebuilds an item tooltip from its kept fields when a cache answers, then sizes it
Confidence
verified, proof one
Finding
ui/tooltipitem#fields-kept-for-a-rebuild

Finding: Fields kept for a rebuild in ui: The item tooltip builder

A fresh build copies p1, p3, p4, p5, p6, p8 and p9 into the tooltip, and 0x52e530 rebuilds from them when a cache answers. The instance fields at +0x3d0 hold what the method knows about the item that the record does not: enchantments, a timer, the creator, a random property, charges, a lock and durability. Methods that have no such data leave +0x440 zero, and the builder ignores the block.

fieldholds
+0x380, +0x398item GUID, entry
+0x3a0, +0x3a4p4, p5
+0x3a8, +0x3acp8, p9
+0x3d0 to +0x3e8seven enchantment ids
+0x408, +0x40cremaining cooldown in milliseconds, spell id of the proposed enchantment
+0x410, +0x418creator GUID, gift creator GUID
+0x420, +0x424fourth item-link number (read by no function), random property id
+0x428, +0x42ccharges (−1 when unset), wrapped flag
+0x430lock id
+0x434, +0x438maximum and current durability
+0x440p6

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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