//
// cocos2d::unzClose from 0x1800a4640 to 0x1800a4687 (71 bytes)
//
// 3 xrefs:
// > cocos2d::CCFileUtils::getFileDataFromZip @ 0x1800721e7
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1a40
//
// This function is hookable on this platform (idp: pc, 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:22:15 +0000
//
__int64 __fastcall cocos2d::unzClose(cocos2d *this, void *a2)
{
if ( !this )
return 4294967194LL;
if ( *((_QWORD *)this + 34) )
cocos2d::unzCloseCurrentFile(this, a2);
(*((void (__fastcall **)(_QWORD, _QWORD))this + 5))(*((_QWORD *)this + 7), *((_QWORD *)this + 12));
free(this);
return 0;
}