Mac inflateReset: int __cdecl (void* pStream) zlib
This is zlib's inflateReset. There is one cdecl stack arg, [EBP+8] = the z_stream. If the stream or its +0x1c state is NULL it returns MOV EAX,-2 (Z_STREAM_ERROR). Otherwise it clears state +0x28/+0x2c/+0x30 (wsize/whave/wnext) and tail-JMPs to inflateResetKeep 0x00037c98 with the same arg, whose int result is returned. Caller: inflateReset2. This matches zlib int inflateReset(z_streamp).
Changes 1, applied together
Set prototype
mac 0x00037d32signatureundefined inflateReset(void)→int inflateReset(void* pStream)conventionunknown→__cdecl