//
// sub_1001795F0 from 0x1001795f0 to 0x100179618 (40 bytes)
//
// 1 xrefs:
// > sub_100179520 @ 0x10017954f
//
// 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 sub_1001795F0(__int64 a1, FILE *a2, __int64 a3, unsigned int a4)
{
__int64 result; // rax
result = -1;
if ( a4 <= 2 )
return -(__int64)(fseek(a2, a3, a4) != 0);
return result;
}