//
// sub_B8618 from 0xb8618 to 0xb8670 (88 bytes)
//
// 1 xrefs:
// > sub_B8738 @ 0xb873c
//
// 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:14:39 +0000
//
__int64 __fastcall sub_B8618(__int64 a1, int a2, int *a3, __int64 a4)
{
int v5; // w8
if ( a2 )
return 31;
v5 = *(_DWORD *)(a1 + 572);
if ( v5 >= 6 )
v5 = 6;
*a3 = v5 & ~(v5 >> 31);
if ( a4 )
sub_E3C94(a4, FMOD::FMOD_dsposcillator_oscillatortypes[*(int *)(a1 + 544)], 32);
return 0;
}