//
// cocos2d::unzClose from 0xd9f440 to 0xd9f490 (80 bytes)
//
// 6 xrefs:
// > cocos2d::extension::AssetsManager::uncompress @ 0xd09efc
// > cocos2d::extension::AssetsManager::uncompress @ 0xd09f6c
// > cocos2d::CCFileUtils::getFileDataFromZip @ 0xd74838
// > cocos2d::ZipFile::~ZipFile @ 0xd9b048
// > cocos2d::ZipFile::~ZipFile @ 0xd9b05c
// > ??> @ 0xeba80
//
// 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:28 +0000
//
__int64 __fastcall cocos2d::unzClose(cocos2d *this, void *a2)
{
void *v3; // x1
if ( !this )
return 4294967194LL;
v3 = *((void **)this + 40);
if ( v3 )
cocos2d::unzCloseCurrentFile(this, v3);
(*((void (__fastcall **)(_QWORD, _QWORD))this + 5))(*((_QWORD *)this + 7), *((_QWORD *)this + 12));
free(this);
return 0;
}