//
// cocos2d::unzGetOffset64 from 0xd9fa80 to 0xd9fac4 (68 bytes)
//
// 2 xrefs:
// > cocos2d::unzGetOffset @ 0xd9fac8
// > ??> @ 0x7a650
//
// 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::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;
}