benilla-re systems structs docs

ZlibUncompress

function · storm · orchestration

Address
0x660740 · 185 bytes, up to 0x6607f8
Meaning
Inflates a zlib stream into a buffer, updating the output length
Confidence
inferred
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 4

Callees 4

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