benilla-re systems structs docs

CGTooltip::ClearItemFields

function · ui · orchestration

Address
0x5326e0 · 69 bytes, up to 0x532724
Signature
void __thiscall (CGTooltip *this)
Meaning
Zeroes the item instance fields at tooltip +0x3d0 and sets the charges to −1
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 4

Callees 0

None by a direct call or jump.

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