//
// sub_1002DBAC8 from 0x1002dbac8 to 0x1002dbb28 (96 bytes)
//
// 3 xrefs:
// > cocos2d::ZipUtils::decompressString2 @ 0x1002daa70
// > sub_1002DAB80 @ 0x1002dab84
// > cocos2d::ZipUtils::decompressString @ 0x1002dace0
//
// 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 11:02:45 +0000
//
__int64 __fastcall sub_1002DBAC8(Bytef *a1, uInt a2, void **a3, int a4)
{
int v5; // w8
void *v6; // x0
unsigned int v8; // [xsp+Ch] [xbp-14h] BYREF
v8 = 0;
v5 = sub_1002DB978(a1, a2, a3, &v8, a4);
v6 = *a3;
if ( v5 )
{
if ( v6 )
operator delete[](v6);
}
else if ( v6 )
{
return v8;
}
*a3 = nullptr;
return 0;
}