//
// gzbuffer from 0xf3ea8c to 0xf3ead8 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x56890
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:06 +0000
//
__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;
}