//
// FMOD_OS_Time_Sleep from 0xc02c8 to 0xc02f2 (42 bytes)
//
// 1 xrefs:
// > j_FMOD_OS_Time_Sleep @ 0xe1298
//
// 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 FMOD_OS_Time_Sleep(unsigned int a1)
{
_DWORD v2[2]; // [sp+0h] [bp-10h] BYREF
v2[0] = a1 / 0x3E8;
v2[1] = a1 % 0x3E8 * (_DWORD)&unk_F4240;
nanosleep((const struct timespec *)v2, nullptr);
return 0;
}