benilla-re systems structs docs

TabardModel::GetLowerEmblemTexture

function · ui · primitive

Address
0x503540 · 938 bytes, up to 0x5038e9
Signature
int __fastcall (lua_State *L)
Meaning
Fills a Texture widget with the lower emblem's alpha as a white mask and returns nothing
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/tabard#emblem-textures

Finding: Emblem textures in ui: the guild tabard designer

GetUpperEmblemTexture(texture) and GetLowerEmblemTexture(texture) fill the Texture widget they are given and return nothing. Each decodes the emblem file for the current style and colour and keeps only its alpha: the texture is white with the emblem's alpha, 128 by 64 for the upper half and 128 by 32 for the lower. A file that fails to open or decode leaves the previous contents, all clear on first use, and still installs the texture. A missing, non-texture or wrong-type argument raises the method's usage text.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 17

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