benilla-re systems structs docs

ObjectCompressedUpdateHandler

function · objectlayer · host

Address
0x4672f0 · 314 bytes, up to 0x467429
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles SMSG_COMPRESSED_UPDATE_OBJECT: inflates the zlib body and runs the update handler on it
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/update#compressed-update

Finding: Compressed update in objectlayer: update

SMSG_COMPRESSED_UPDATE_OBJECT is a u32 uncompressed size and a zlib stream filling the rest of the packet. The client inflates it into a buffer of that size, on the stack below 900,000 bytes, else on the heap, and runs the update handler on the result as opcode 0xa9, with the inflated length as the store's size. The inflate's return value is not checked.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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