CreateLootButton
function · ui · orchestration
- Address
0x495a30· 70 bytes, up to0x495a75- Signature
void * __thiscall (CSimpleFrame *this)- Meaning
- Allocates a LootButton, a button of 0x4e0 bytes with one slot dword, and installs its vtables
- Confidence
- verified, proof one
- Finding
- ui/loot#the-row-widget
Finding: The row widget in ui: the loot window
LootButton is a frame type that CreateFrame and the XML loader can build (0x495a30 is its factory, registered at
0x4959ad): a button of 0x4e0 bytes, one more dword (+0x4dc) than the base, holding a 0-based slot. It has one
method of its own, SetSlot(index), which stores the 1-based index minus 1 and returns nothing
(Usage: SetSlot(index)). It overrides six virtuals of the button, of which only the click matters. Its script surface
is the button's, and no hover or drag code asks for the type.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- SMemAlloc storm
- CSimpleButton::CSimpleButton ui
Calls and jumps by a bare address, from tables/calls.tsv.