//
// cocos2d::unzGoToNextFile64 from 0x1800a4de0 to 0x1800a4efe (286 bytes)
//
// 7 xrefs:
// > cocos2d::unzGoToNextFile @ 0x1800a4f08
// > cocos2d::unzLocateFile @ 0x1800a50d0
// > ??> @ 0x18014856c
// > ??> @ 0x180148580
// > ??> @ 0x180148590
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1b00
//
// 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::unzGoToNextFile64(
cocos2d *this,
_OWORD *a2,
struct cocos2d::unz_file_info64_s *a3,
char *a4)
{
__int64 result; // rax
__int64 v7; // rcx
int v8; // eax
if ( !this )
return 4294967194LL;
if ( !*((_QWORD *)this + 18) )
return 4294967196LL;
v7 = *((_QWORD *)this + 13);
if ( v7 != 0xFFFF && *((_QWORD *)this + 16) + 1LL == v7 )
return 4294967196LL;
v8 = *((_DWORD *)this + 55);
++*((_QWORD *)this + 16);
*((_QWORD *)this + 17) += (unsigned int)(*((_DWORD *)this + 56) + *((_DWORD *)this + 54) + v8 + 46);
result = sub_1800A3990(
(__int64)this,
(__int64)this + 176,
(_QWORD *)this + 33,
(__int64)a3,
(unsigned int)a4,
0,
0,
0,
0);
*((_QWORD *)this + 18) = (_DWORD)result == 0;
if ( a2 )
{
*a2 = *((_OWORD *)this + 11);
a2[1] = *((_OWORD *)this + 12);
a2[2] = *((_OWORD *)this + 13);
a2[3] = *((_OWORD *)this + 14);
a2[4] = *((_OWORD *)this + 15);
*((_QWORD *)a2 + 10) = *((_QWORD *)this + 32);
}
return result;
}