//
// cocos2d::unzGetFilePos64 from 0xd9edf0 to 0xd9ee2c (60 bytes)
//
// 2 xrefs:
// > cocos2d::unzGetFilePos @ 0xd9ee50
// > ??> @ 0xdba48
//
// 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::unzGetFilePos64(_QWORD *a1, _QWORD *a2)
{
unsigned int v2; // w2
if ( a1 && a2 )
{
if ( a1[18] )
{
v2 = 0;
*a2 = a1[17];
a2[1] = a1[16];
}
else
{
return (unsigned int)-100;
}
}
else
{
return (unsigned int)-102;
}
return v2;
}