benilla-re systems structs docs

Script::GetActionTexture

function · ui · orchestration

Address
0x4e6e10 · 92 bytes, up to 0x4e6e6b
Signature
int __fastcall (lua_State *L)
Meaning
Returns the icon path of an action slot, or nil
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 7

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