benilla-re systems structs docs

SendCursorImage

function · ui · orchestration

Address
0x523790 · 130 bytes, up to 0x523811
Signature
void __cdecl (void)
Meaning
Sends the cursor image the mode and payload picture choose to the device
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.

Callers 5

Callees 2

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