//
// inflateMark from 0x73e134 to 0x73e16c (56 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall inflateMark(int a1)
{
char *v1; // r2
int v2; // r1
int v3; // r3
char *v4; // r0
if ( !a1 )
return -65536;
v1 = *(char **)(a1 + 28);
if ( !v1 )
return -65536;
v2 = *(_DWORD *)v1;
v3 = *((_DWORD *)v1 + 1777) << 16;
if ( *(_DWORD *)v1 == 15 )
{
v4 = *((char **)v1 + 16);
}
else
{
if ( v2 == 24 )
{
v4 = *((char **)v1 + 16);
v1 = *((char **)v1 + 1778);
}
else
{
v4 = nullptr;
}
if ( v2 == 24 )
v4 = (char *)(v1 - v4);
}
return (int)&v4[v3];
}