benilla-re systems structs docs

EndWrapItem

function · objectlayer · orchestration

Address
0x5eded0 · 50 bytes, up to 0x5edf01
Signature
void __cdecl (void)
Meaning
Releases the wrapping paper and switches the cursor back to 1
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 2

Callees 3

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