benilla-re systems structs docs

Script::HideRepairCursor

function · ui · orchestration

Address
0x4fbd00 · 33 bytes, up to 0x4fbd20
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Lua function HideRepairCursor
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/merchantcursor#the-repair-cursor

Finding: The repair cursor in ui: the vendor cursors

ShowRepairCursor() does nothing while a spell awaits a target or when no vendor that repairs is open. Otherwise it clears the cursor payload, sets both the base and the shown picture to Repair (17), and returns nothing. HideRepairCursor() sets both back to Point (1) when the base is Repair. InRepairMode() returns the number 1 when the base is Repair and nil otherwise; CanMerchantRepair() returns 1 when the open vendor's NPC flags have bit 14 and nil otherwise.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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