//
// 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 (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:48 +0000
//
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;
}