Script::InRepairMode
function · ui · orchestration
- Address
0x4fbd30· 46 bytes, up to0x4fbd5d- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function InRepairMode
- 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
- GetBaseCursorMode ui
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.