//
// cocos2d::ZipUtils::ccInflateMemoryWithHint from 0xd9a05c to 0xd9a0dc (128 bytes)
//
// 3 xrefs:
// > cocos2d::ZipUtils::ccInflateMemory @ 0xd9a0e0
// > cocos2d::CCTMXMapInfo::endElement @ 0xdae1a0
// > ??> @ 0x80e60
//
// 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:08:23 +0000
//
__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;
}