FreeCursorPictureTexture
function · ui · orchestration
- Address
0x523820· 26 bytes, up to0x523839- Signature
void __cdecl (void)- Meaning
- Frees the payload picture's texture handle
- Confidence
- verified, proof one
- Finding
- ui/cursor#dragging-picture
Finding: Dragging picture in ui: the cursor payload
While a payload with a picture is held, the pointer shows that picture: the icon scaled to 32 by 32, laid
over the Item cursor where that image is opaque. 0x523a70(guid) and 0x523b30(displayId) (kinds 1, 5, 7
and 9), 0x5239d0(amount) (money) and 0x523a30(path) (spell, pet action, macro, stabled pet) each load a
texture, store the picture state in 0xbe2c48 (1, 2 or 3; the blit tests only for nonzero) and the texture
handle in 0xbe2c60, and call 0x523840.
0x523840 accepts only a 64 by 64 texture. It averages each 2 by 2 block into one pixel, forces the alpha to
0xff, writes 32 by 32 pixels into 0xbe1c28, and frees the texture.
The derivation is in the doc.
Callers 1
Callees 1
- HandleClose base
Calls and jumps by a bare address, from tables/calls.tsv.