//
// sub_100158880 from 0x100158880 to 0x1001588a8 (40 bytes)
//
// 1 xrefs:
// > sub_100158770 @ 0x10015879f
//
// This function is hookable on this platform (idp: pc, 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 12:25:05 +0000
//
__int64 __fastcall sub_100158880(__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;
}