//
// cocos2d::call_zseek64 from 0x7fc096 to 0x7fc0ca (52 bytes)
//
// 17 xrefs:
// > sub_7FC3F4 @ 0x7fc432
// > sub_7FC3F4 @ 0x7fc644
// > sub_7FC3F4 @ 0x7fc6ac
// > sub_7FC3F4 @ 0x7fc770
// > sub_7FC3F4 @ 0x7fc7be
// > sub_7FC9D0 @ 0x7fca30
// > sub_7FC9D0 @ 0x7fcace
// > sub_7FC9D0 @ 0x7fcb4c
// > sub_7FC9D0 @ 0x7fcbb4
// > sub_7FC9D0 @ 0x7fcbf6
// > sub_7FC9D0 @ 0x7fcd06
// > sub_7FC9D0 @ 0x7fcda2
// > sub_7FC9D0 @ 0x7fce1e
// > cocos2d::unzReadCurrentFile @ 0x7fd37c
// > cocos2d::unzGetLocalExtrafield @ 0x7fd574
// > cocos2d::unzOpenCurrentFile3 @ 0x7fd678
// > cocos2d::unzGetGlobalComment @ 0x7fd9d6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:15 +0000
//
int __fastcall cocos2d::call_zseek64(int a1, int a2, int a3, int a4, int a5)
{
bool v6; // zf
if ( *(_DWORD *)(a1 + 16) )
return (*(int (__fastcall **)(_DWORD))(a1 + 16))(*(_DWORD *)(a1 + 28));
v6 = a4 == 0;
if ( !a4 )
v6 = 1;
if ( v6 )
return (*(int (__fastcall **)(_DWORD, int, int, int))(a1 + 40))(*(_DWORD *)(a1 + 28), a2, a3, a5);
else
return -1;
}