Script::PlaceAction
function · ui · orchestration
- Address
0x4e7240· 64 bytes, up to0x4e727f- Signature
int __fastcall (lua_State *L)- Meaning
- Places the cursor's payload on a slot
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/actionuse#placing-an-action
Finding: Placing an action in ui: placing, picking up and using actions
PlaceAction (0x4e7240) runs 0x4e62e0(slot). It returns with nothing done unless the slot is 0 to 119
and the context check 0x494a50 for kind 9 passes. It reads three candidates: the spell on the
cursor (mode 3), the item entry (the mode 7 payload, else the entry of the mode 1 item) and the macro
(mode 8). The first of spell, item, macro that is set decides. A cursor holding anything else (money,
pet action, vendor row, ammo, stabled pet) matches none: nothing happens and the payload stays on
the cursor.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- __ftol crt
- PlaceOnActionSlot ui
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.