//
// cocos2d::unzGoToFirstFile64 from 0x1800a4c90 to 0x1800a4d5f (207 bytes)
//
// 4 xrefs:
// > ??> @ 0x180148534
// > ??> @ 0x180148548
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1ad0
//
// 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::unzGoToFirstFile64(
cocos2d *this,
_OWORD *a2,
struct cocos2d::unz_file_info64_s *a3,
char *a4)
{
__int64 result; // rax
char *v7; // rsi
if ( !this )
return 4294967194LL;
v7 = (char *)this + 176;
*((_QWORD *)this + 17) = *((_QWORD *)this + 21);
*((_QWORD *)this + 16) = 0;
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 *)v7;
a2[1] = *((_OWORD *)v7 + 1);
a2[2] = *((_OWORD *)v7 + 2);
a2[3] = *((_OWORD *)v7 + 3);
a2[4] = *((_OWORD *)v7 + 4);
*((_QWORD *)a2 + 10) = *((_QWORD *)v7 + 10);
}
return result;
}