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