benilla-re systems structs docs

CGGameUI::SetCursorItem

function · ui · primitive

Address
0x494b60 · 256 bytes, up to 0x494c5f
Signature
void __fastcall (uint32_t slot, uint32_t unlock, uint64_t guid, uint64_t containerGuid, uint32_t count)
Meaning
Puts an item on the cursor, first clearing what it held
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/cursor#item-and-preview-setters

Finding: Item and preview setters in ui: the cursor payload

0x494b60(slot, unlock, guid, containerGuid, count) is the item setter. A zero GUID leaves the cursor empty. It shows the action bar grid (ACTIONBAR_SHOWGRID) and sets the latch when 0x5d8c00 or 0x5d9ff0 accepts the item, and signals CURSOR_UPDATE last. The preview setter 0x4950f0(entry, displayId, index, mode) stores its three words, shows the grid for kind 7 only, sets the picture from the display id, plays the item sound for the display id and signals CURSOR_UPDATE.

The derivation is in the doc.

Callers 9

Callees 9

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