//
// gzbuffer from 0xcc88cc to 0xcc8918 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x3ba30
//
// 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 gzbuffer(_DWORD *a1, unsigned int a2)
{
int v2; // w2
unsigned int v3; // w2
if ( a1 && ((v2 = a1[6], v2 == 31153) || v2 == 7247) && !a1[10] )
{
if ( a2 <= 1 )
a2 = 2;
v3 = 0;
a1[11] = a2;
}
else
{
return (unsigned int)-1;
}
return v3;
}