//
// deflateSetHeader from 0xcbdf70 to 0xcbdf9c (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x4f830
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall deflateSetHeader(__int64 a1, __int64 a2)
{
__int64 v2; // x0
if ( !a1 )
return 4294967294LL;
v2 = *(_QWORD *)(a1 + 56);
if ( !v2 || *(_DWORD *)(v2 + 44) != 2 )
return 4294967294LL;
*(_QWORD *)(v2 + 48) = a2;
return 0;
}