benilla-re systems structs docs

GetActionSlotTexture

function · ui · primitive

Address
0x4e6a50 · 530 bytes, up to 0x4e6c61
Signature
const char * __fastcall (uint32_t slot)
Meaning
Returns the icon path of an action slot, or null
Confidence
verified, proof one
Finding
ui/actionbar#action-icon

Finding: Action icon in ui: action bars

GetActionTexture (0x4e6e10) pushes the string of 0x4e6a50(slot) or nil. In order: an empty slot or a slot outside 0 to 119 gives nil; an attack slot gives 0x4e6870; a ranged-repeat slot gives 0x4e6990 when that returns a nonempty path; an item slot gives Interface\Icons\ plus the display icon of its template, and INV_Misc_QuestionMark while the template is unknown, so it never gives nil (objectlayer/items#inventory-icons); a spell slot gives the SpellIcon path of its ActiveIconID (+0x1d8) when 0x4e55f0 holds, else of its SpellIconID (+0x1d4); an existing macro gives its own icon from 0x4f0fd0.

The derivation is in the doc.

Callers 1

Callees 12

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