GetWatcherCopyOffset
function · objectlayer · primitive
- Address
0x4680c0· 353 bytes, up to0x468220- Signature
uint32_t __fastcall (uint32_t type, uint32_t offset, uint32_t length)- Meaning
- Gives the copy-array offset of a watched range of a type's section
- Confidence
- verified, proof two
- Finding
- objectlayer/manager#watcher-copy-offsets
Finding: Watcher copy offsets in objectlayer: manager
A watcher's copy offset says where in the copy array its range lives. 0x4680c0(type, offset, length) takes the type's section: the item, container, unit, player, game object, dynamic object
or corpse index function with offset / 4 and (length + 3) / 4, adds the count of the section's
parent (the unit's or the object's, the item's for a container), and returns that sum times 4 plus
offset & 3. A type outside 1 to 7 uses the object section alone.
The derivation is in the doc.
Callers 1
- ClntObjMgrSetTypeMirrorHandler objectlayer
Callees 11
- CorpseWatchedIndex objectlayer
- DynamicObjectWatchedIndex objectlayer
- GameObjectWatchedIndex objectlayer
- PlayerWatchedIndex objectlayer
- UnitWatchedCount objectlayer
- UnitWatchedIndex objectlayer
- ContainerWatchedIndex objectlayer
- ItemWatchedCount objectlayer
- ItemWatchedIndex objectlayer
- ObjectWatchedCount objectlayer
- ObjectWatchedIndex objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.