ClearItemFlagByEntry
function · objectlayer · orchestration
- Address
0x6221e0· 43 bytes, up to0x62220a- Meaning
- Clears bit 0 of +0x314 on the inventory's items of an entry not in trade nor held elsewhere
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#searching-the-inventory
Finding: Searching the inventory in objectlayer: inventory
Bag_C.cpp's searches over an inventory list:
| function | does |
|---|---|
0x622420 | the walk (spell/checks): bit 0x10 stops it entering bags; with 0x20 only items whose ITEM_FIELD_SPELL_CHARGES is nonzero, and bags, reach the callback |
0x6223f0, 0x6222b0 | the walk with a callback, or by entry with the owner and slot out |
0x622130, 0x622180 | the stack count, or the summed absolute charges, of an entry (−1 any) |
0x622270, 0x6222e0, 0x6223a0 | the first item of an entry, of a class and subclass mask, of a bag family |
0x6221e0 | clears bit 0 of +0x314 on items of an entry not in trade nor held at 0xb6ef90 or 0xb72608 |
0x6225d0 | the slot of an item object, or −1 |
0x6228a0 | the item in a slot, none for a bank slot while no banker is open |
0x622910 | free slots: empty backpack slots plus those of each bag (item class 1) in 19 to 22 |
0x6229d0 | equipment durability: the sum of current over the sum of max, times 100, truncated |
The derivation is in the doc.
Callers 2
- CGItem_C::ApplyRecord objectlayer
- OnItemStackCountChanged objectlayer
Callees 1
- WalkInventoryItems objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.