//
// FMOD_OS_File_Seek from 0x1800c0f20 to 0x1800c0f4d (45 bytes)
//
// 5 xrefs:
// > sub_18003B250 @ 0x18003b3e2
// > sub_1800B4270 @ 0x1800b4277
// > sub_1801146F0 @ 0x18011485d
// > ??> @ 0x180194348
// > ??> @ 0x1801fdb60
//
// 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 FMOD_OS_File_Seek(void *a1, LONG a2)
{
unsigned int v2; // ebx
LONG DistanceToMoveHigh; // [rsp+40h] [rbp+18h] BYREF
v2 = 0;
DistanceToMoveHigh = 0;
if ( SetFilePointer(a1, a2, &DistanceToMoveHigh, 0) == -1 )
return 13;
return v2;
}