//
// 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 (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 10:54:03 +0000
//
__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;
}