benilla-re systems structs docs

LoadCursorImages

function · ui · primitive

Address
0x5236c0 · 197 bytes, up to 0x523784
Signature
void __cdecl (void)
Meaning
Loads the 42 cursor images, sets both modes to Point and sends the image
Confidence
verified, proof one
Finding
ui/worldcursor#cursor-modes

Finding: Cursor modes in ui: the pointer picture

A mode is an index into the cursor name table s_cursorNames (0x853b88): 0 is blank, 1 Point, 2 Cast, 3 Buy, 4 Attack, 5 Interact, 6 Speak, 7 Inspect, 8 Pickup, 9 Taxi, 10 Trainer, 11 Mine, 12 Skin, 13 GatherHerbs, 14 PickLock, 15 Mail, 16 LootAll, 17 Repair, 18 Item, 19 SkinHorde, 20 SkinAlliance. Modes 21 to 40 are the same names with Unable in front, so the unable form of a mode is the mode plus 20. Mode 41 is the named custom cursor. The image of mode n is Interface\Cursor\<name>.blp, a 32 by 32 texture.

The derivation is in the doc.

Callers 1

Callees 5

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