//
// cocos2d::unzOpen2 from 0xb2d760 to 0xb2d7d8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x8f898
//
// 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
//
__int64 __fastcall cocos2d::unzOpen2(__int64 a1, __int64 *a2)
{
__int64 v4[11]; // [xsp+30h] [xbp+30h] BYREF
if ( !a2 )
return sub_B2D010(a1, nullptr, 0);
cocos2d::fill_zlib_filefunc64_32_def_from_filefunc32(v4, a2);
return sub_B2D010(a1, v4, 0);
}