//
// sub_758044 from 0x758044 to 0x758082 (62 bytes)
//
// 0 xrefs:
//
// 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 sub_758044(int a1, int a2, int off, int a4, int whence)
{
int v6; // r3
v6 = whence;
*(_QWORD *)a1 = -1;
*(_DWORD *)(a1 + 8) = 0;
if ( whence )
{
if ( whence == 1 )
v6 = 1;
else
v6 = 2;
}
if ( !fseek(*(FILE **)(a2 + 32), off, v6) )
*(_QWORD *)a1 = ftell(*(FILE **)(a2 + 32));
return a1;
}