benilla-re systems structs docs

RestoreCursorModePicture

function · ui · orchestration

Address
0x523bf0 · 25 bytes, up to 0x523c08
Signature
void __cdecl (void)
Meaning
Ends the payload picture and sends the mode's image again
Confidence
verified, proof one
Finding
ui/cursor#clearing-the-cursor

Finding: Clearing the cursor in ui: the cursor payload

0x495190(unlock, signalMoney) drops whatever the cursor holds, by kind. It always clears the pending gift-wrap register, restores the shown picture (0x523bf0), then runs the kind's arm. Kind 1 releases the item lock when unlock is nonzero and a GUID is held, plays the item put-down sound, and zeroes the GUID, container GUID and source slot. Kind 2 zeroes the money, plays LOOTWINDOWCOINSOUND, and signals PLAYER_MONEY when signalMoney is nonzero. Kinds 5, 6, 7 and 9 play the put-down sound for the display id and zero the preview globals; kinds 3, 4, 8 and 10 zero their word. Kinds 3 to 10 then play INTERFACESOUND_CURSORDROPOBJECT; kinds 1 and 2 do not.

The derivation is in the doc.

Callers 1

Callees 1

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