//
// sub_1004D1EB0 from 0x1004d1eb0 to 0x1004d1ef4 (68 bytes)
//
// 1 xrefs:
// > FMOD::System::setStreamBufferSize @ 0x1004ca778
//
// 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
//
__int64 __fastcall sub_1004D1EB0(__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;
}