//
// inflateMark from 0xcc55cc to 0xcc5628 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x586f8
//
// 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 inflateMark(__int64 a1)
{
_DWORD *v1; // x1
__int64 v2; // x2
if ( !a1 )
return -65536;
v1 = *(_DWORD **)(a1 + 56);
if ( !v1 )
return -65536;
v2 = (__int64)(int)v1[1785] << 16;
if ( *v1 == 15 )
return v2 + (unsigned int)v1[21];
if ( *v1 == 24 )
return v2 + (unsigned int)(v1[1786] - v1[21]);
return (__int64)(int)v1[1785] << 16;
}