HandleCompressedMovesPacket
function · objectlayer · primitive
- Address
0x603ce0· 288 bytes, up to0x603dff- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles 0x2fb: inflates the body into a stack buffer of its unchecked declared size, dispatches each u8-length message
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- objectlayer/unitmovement#compressed-moves
Finding: Compressed moves in objectlayer: unit movement
0x603ce0 handles 0x2fb: a u32 inflated size, then a zlib stream. It reserves the size, rounded
up to 4, on the stack, inflates into it with the unrounded size as the output limit, and then
dispatches each u8 length and length bytes as one message through 0x537aa0, until the cursor
equals the inflated size. No test bounds the size between its read and the reserve: one above the
free stack faults in 0x40a280, and the top three sizes, 0xfffffffd to 0xffffffff, round to a
0-byte reserve while the output limit stays the size.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __alloca_probe crt
- CDataStore::GetUInt8 base
- CDataStore::GetUInt32 base
- CDataStore::GetDataInSitu base
- NetClient::DispatchMessage net
- ClientServices::GetCurrent net
- ZlibUncompress storm
Calls and jumps by a bare address, from tables/calls.tsv.