//
// cocos2d::ZipUtils::ccInflateMemoryWithHint from 0x7fa95c to 0x7fa9a4 (72 bytes)
//
// 2 xrefs:
// > cocos2d::ZipUtils::ccInflateMemory @ 0x7fa9ac
// > cocos2d::CCTMXMapInfo::endElement @ 0x805bae
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:14 +0000
//
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;
}