benilla-re systems structs docs

s_cursorImages

global · ui

Address
0xbe2d80 · 172032 bytes, up to 0xc0cd7f
Type
uint32_t[42][1024]
Meaning
Holds the 32 by 32 image of each cursor mode, slot 41 being the named custom cursor
Confidence
verified, proof one
Finding
ui/cursor#sending-the-picture

Finding: Sending the picture in ui: the cursor payload

0x523790 sends one image to the device. With no payload picture it sends the current mode's image from the cursor array 0xbe2d80, 0x1000 bytes per mode. With a payload and a live texture handle it sends the Item image alone. With a payload and no handle it sends, per pixel, the Item image where its alpha byte is nonzero, else the icon buffer. No digit or stack count is drawn. The Item image is slot 18 of the array, 0xbf4d80.

The derivation is in the doc.