//
// cocos2d::unzGetOffset from 0x1800a4b50 to 0x1800a4b87 (55 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// 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::unzGetOffset(cocos2d *this, void *a2)
{
__int64 v3; // rax
if ( !this )
return 0;
if ( !*((_QWORD *)this + 18) )
return 0;
v3 = *((_QWORD *)this + 13);
if ( v3 )
{
if ( v3 != 0xFFFF && *((_QWORD *)this + 16) == v3 )
return 0;
}
return *((_QWORD *)this + 17);
}