benilla-re systems structs docs

CGItem_C::CGItem_C

function · objectlayer · primitive

Address
0x5d81f0 · 213 bytes, up to 0x5d82c4
Signature
CGItem_C * __thiscall (CGItem_C *this, uint32_t time, void *block)
Meaning
Builds an item: watcher lists, flags, expiries and the cached record bytes
Confidence
verified, proof one
Finding
objectlayer/items#the-item-object

Finding: The item object in objectlayer: items

The constructor builds the object part, 42 empty field watcher lists at +0x11c, and clears the flags +0x314, the expiry +0x320, the seven enchantment expiries +0x324 and the sound row +0x340; it passes its GUID to 0x468270 and caches five record values as bytes. Bit 0 of +0x314 is the interface's item lock, bit 1 the record's arrival. The destructor cancels a record request still pending, unlinks the lists and runs the object's.

+0x318+0x319+0x31a+0x31b+0x31c
record +0x0+0x4+0x1b0+0x2c+0x1b4

The derivation is in the doc.

Callers 2

Callees 7

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