//
// sub_6D1E8 from 0x6d1e8 to 0x6d22c (68 bytes)
//
// 1 xrefs:
// > FMOD::System::setStreamBufferSize @ 0xdcc78
//
// 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 12:13:58 +0000
//
__int64 __fastcall sub_6D1E8(__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;
}