//
// inflateMark from 0x94dcf4 to 0x94dd2c (56 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:05:21 +0000
//
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];
}