//
// sub_1005F8018 from 0x1005f8018 to 0x1005f805c (68 bytes)
//
// 1 xrefs:
// > FMOD::System::setStreamBufferSize @ 0x1005f08e0
//
// This function is hookable on this platform (idp: arm, 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 11:09:52 +0000
//
__int64 __fastcall sub_1005F8018(__int64 a1, int a2, unsigned int a3)
{
__int64 result; // x0
_DWORD *v5; // x8
if ( !a2 )
return 31;
result = 31;
if ( a3 <= 8 && ((1 << a3) & 0x116) != 0 )
{
result = 0;
v5 = (_DWORD *)(a1 + 70452);
*v5 = a2;
v5[1] = a3;
}
return result;
}