//
// gzoffset64 from 0xf3ed9c to 0xf3ee24 (136 bytes)
//
// 2 xrefs:
// > gzoffset @ 0xf3ee24
// > ??> @ 0xd17d0
//
// 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:13:06 +0000
//
__off_t __fastcall gzoffset64(_DWORD *a1)
{
int v1; // w1
__off_t result; // x0
if ( !a1 )
return -1;
v1 = a1[6];
if ( v1 != 31153 && v1 != 7247 )
return -1;
result = lseek(a1[7], 0, 1);
if ( result == -1 )
return -1;
if ( a1[6] == 7247 )
result -= (unsigned int)a1[32];
return result;
}