//
// cocos2d::ZipUtils::ccInflateMemoryWithHint from 0xb2a078 to 0xb2a0f8 (128 bytes)
//
// 3 xrefs:
// > cocos2d::ZipUtils::ccInflateMemory @ 0xb2a0fc
// > cocos2d::CCTMXMapInfo::endElement @ 0xb3b6a8
// > ??> @ 0x5e4b8
//
// 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 cocos2d::ZipUtils::ccInflateMemoryWithHint(
cocos2d::ZipUtils *this,
unsigned __int8 *a2,
void **a3,
unsigned __int8 **a4)
{
unsigned __int8 *v6; // [xsp+24h] [xbp+24h] BYREF
LODWORD(v6) = 0;
if ( (unsigned int)cocos2d::ZipUtils::ccInflateMemoryWithHint(this, a2, a3, &v6, (unsigned int *)(unsigned int)a4) )
{
if ( *a3 )
operator delete[](*a3);
}
else if ( *a3 )
{
return (unsigned int)v6;
}
*a3 = nullptr;
return 0;
}