//
// cocos2d::unzClose from 0x5f1f5c to 0x5f1f84 (40 bytes)
//
// 5 xrefs:
// > cocos2d::extension::AssetsManager::uncompress @ 0x5a00ec
// > cocos2d::extension::AssetsManager::uncompress @ 0x5a00fc
// > cocos2d::CCFileUtils::getFileDataFromZip @ 0x5de6c4
// > cocos2d::ZipFile::~ZipFile @ 0x5f0406
// > cocos2d::ZipFile::~ZipFile @ 0x5f0412
//
// 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
//
int __fastcall cocos2d::unzClose(cocos2d *this, void *a2)
{
if ( !this )
return -102;
if ( *((_DWORD *)this + 56) )
cocos2d::unzCloseCurrentFile(this, a2);
(*((void (__fastcall **)(_DWORD, _DWORD))this + 5))(*((_DWORD *)this + 7), *((_DWORD *)this + 12));
free(this);
return 0;
}