Script::ReplaceTradeEnchant
function · ui · orchestration
- Address
0x48d330· 8 bytes, up to0x48d337- Signature
int __fastcall (lua_State *L)- Meaning
- Calls 0x6e6900 and returns no Lua results
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- spell/targeting#binding-the-trade-slot
Finding: Binding the trade slot in spell: targeting
0x6e6900 binds trade slot 6 (item guid {6, 0}) when the word has 0x10 or 0x4000 and the trade
global 0xb7150c is nonzero: it ORs 0x1000 into the mask, clears 0x4010, stores the item guid
{6, 0} at +0x20, and fires events 214 and 261. When the word is then 0 it sends the cast with
dl 1 and calls AbortCast(0, 0, 0x17). It returns 1 when it bound, else 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- BindSpellTargetTradeSlot spell
Calls and jumps by a bare address, from tables/calls.tsv.