s_cases4680c0
global · objectlayer
- Address
0x468224· 28 bytes, up to0x46823f- Type
void *[7]- Meaning
- Holds the 7 case addresses of the switch in 0x4680c0
- 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.