benilla-re systems structs docs

CGPlayer_C::SendWrapItem

function · objectlayer · orchestration

Address
0x5edfc0 · 279 bytes, up to 0x5ee0d6
Meaning
Sends CMSG_WRAP_ITEM with the paper's and the item's bags and slots, then ends wrapping
Confidence
verified, proof one
Finding
objectlayer/inventory#opening-and-wrapping-items

Finding: Opening and wrapping items in objectlayer: inventory

0x5edba0(item, &bag, &slot) finds an item's bag index and slot. 0x5edc80 opens an item: the auto-loot byte follows modifier key 0, the loot target becomes the item, and 0xac goes out with the bag and slot; 0x5edd60 plays UnwrapGift and sends the same. 0x5edea0 starts wrapping with an item, 0x5eded0 ends it, and 0x5edfc0(target) sends 0x1d3 with the wrapper's and the target's bag and slot, then ends it. 0x5ede00 shows ERR_WRONG_BAG_TYPE_SUBCLASS with the bag family's name for result 0x10.

The derivation is in the doc.

Callers 1

Callees 7

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