SetCursorMode
function · ui · orchestration
- Address
0x523c20· 20 bytes, up to0x523c33- Signature
void __fastcall (uint32_t mode)- Meaning
- Shows a cursor mode and sends its image when it changes
- Confidence
- verified, proof one
- Finding
- ui/worldcursor#setting-the-mode
Finding: Setting the mode in ui: the pointer picture
0x523c20(mode) stores the shown mode in s_cursorMode and sends its image, but does nothing when the mode is
unchanged. The base mode s_cursorBaseMode is the resting picture: 0x523d10 reads it, 0x523d20 writes it,
and 0x523d30 shows it, which is what ResetCursor() does. The base mode starts at 1; entering a spell target
sets it to 2, and the repair cursor sets it to 17. No Lua function reads the shown mode: the getter 0x523c10 has
no caller.
The derivation is in the doc.
Callers 22
- CGWorldFrame::OnUpdate ui
- UpdateGroundReticle ui
- CGWorldFrame::ClassifyHoveredUnit ui
- CGWorldFrame::ClassifyHoveredGameObject ui
- CGWorldFrame::ClassifyHoveredCorpse ui
- CGWorldFrame::ClassifyHoveredObject ui
- Script::SetCursor ui
- Script::ShowInspectCursor ui
- CancelTargetingOrRotatePlacement ui
- Script::ShowInventorySellCursor ui
- Script::ShowContainerSellCursor ui
- CloseMerchantWindow ui
- Script::ShowMerchantSellCursor ui
- Script::ShowBuybackSellCursor ui
- Script::ShowRepairCursor ui
- Script::HideRepairCursor ui
- ShowBaseCursor ui
- BeginWrapItem objectlayer
- EndWrapItem objectlayer
- CancelCast spell
- TryCastSpell spell
- SendCast spell
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.