//
// cocos2d::ZipUtils::ccInflateMemoryWithHint from 0x5efd64 to 0x5efdac (72 bytes)
//
// 2 xrefs:
// > cocos2d::ZipUtils::ccInflateMemory @ 0x5efdb4
// > cocos2d::CCTMXMapInfo::endElement @ 0x5f9028
//
// 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
//
unsigned __int8 *__fastcall cocos2d::ZipUtils::ccInflateMemoryWithHint(
cocos2d::ZipUtils *this,
unsigned __int8 *a2,
void **a3,
unsigned __int8 **a4,
unsigned int a5)
{
int v6; // r0
void *v7; // r3
unsigned int v9; // [sp+4h] [bp-10h]
unsigned __int8 *v10; // [sp+8h] [bp-Ch] BYREF
v10 = nullptr;
v6 = cocos2d::ZipUtils::ccInflateMemoryWithHint(this, a2, a3, &v10, (unsigned int *)a4, v9);
v7 = *a3;
if ( v6 )
{
if ( v7 )
operator delete[](*a3);
goto LABEL_6;
}
if ( !v7 )
{
LABEL_6:
*a3 = nullptr;
return nullptr;
}
return v10;
}