//
// cocos2d::unzGetOffset64 from 0xb2e788 to 0xb2e7cc (68 bytes)
//
// 2 xrefs:
// > cocos2d::unzGetOffset @ 0xb2e7d0
// > ??> @ 0x58ec0
//
// 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::unzGetOffset64(cocos2d *this, void *a2)
{
__int64 v2; // x1
__int64 v3; // x1
if ( this )
{
v2 = *((_QWORD *)this + 18);
if ( !v2 )
return v2;
v3 = *((_QWORD *)this + 13);
if ( v3 == 0xFFFF || !v3 || v3 != *((_QWORD *)this + 16) )
return *((_QWORD *)this + 17);
}
return 0;
}