SkipValuesBlock
function · objectlayer · primitive
- Address
0x465bb0· 150 bytes, up to0x465c45- Signature
void __thiscall (CDataStore *this)- Meaning
- Reads a values block's mask and a u32 for each set bit below 32 times its word count, and drops them
- Confidence
- verified, proof one
- Finding
- objectlayer/update#values-block
- Test
objectlayer::update_skip_values
Finding: Values block in objectlayer: update
A values block is a u8 count n, n u32 mask words, then one u32 for each set mask bit, in
increasing field index. Bit i is word i >> 5, bit i & 31. Only indices below the object's
field count are visited: 6 for an object, 48 item, 122 container, 188 unit, 1282 for the active
player and 486 for another player, 26 game object, 16 dynamic object, 38 corpse. Words past
n count as zero up to 41; a bit set at or above the field count is never read, and its value
stays in the packet, out of step with the reader.
The derivation is in the doc.
Callers 4
- ObjectValuesNotify objectlayer
- ObjectCreateNotify objectlayer
- SkipCreateBlock objectlayer
- ObjectValuesBlock objectlayer
Callees 4
- CDataStore::GetUInt8 base
- CDataStore::GetUInt32 base
- CDataStore::GetUInt32_2 base
- UpdateMaskTestBit objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.