//
// cocos2d::unzSetOffset from 0x1800a24f0 to 0x1800a2565 (117 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b79ec
//
// 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::unzSetOffset(cocos2d *this, void *a2)
{
__int64 result; // rax
if ( !this )
return 4294967194LL;
*((_QWORD *)this + 17) = (unsigned int)a2;
*((_QWORD *)this + 16) = *((_QWORD *)this + 13);
result = sub_18009FC50((__int64)this, (__int64)this + 176, (_QWORD *)this + 33, 0, 0, 0, 0, 0, 0);
*((_QWORD *)this + 18) = (_DWORD)result == 0;
return result;
}