//
// gztell64 from 0x740a58 to 0x740a7e (38 bytes)
//
// 1 xrefs:
// > gztell @ 0x740a80
//
// 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
//
int __fastcall gztell64(_DWORD *a1)
{
int v1; // r3
bool v2; // zf
int v3; // r3
if ( !a1 )
return -1;
v1 = a1[3];
v2 = v1 == 31153;
if ( v1 != 31153 )
v2 = v1 == 7247;
if ( !v2 )
return -1;
v3 = a1[18];
if ( v3 )
v3 = a1[17];
return a1[2] + v3;
}