//
// sub_64DF8 from 0x64df8 to 0x64e90 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c940
//
// 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_64DF8(__int64 a1, __int64 a2)
{
int v2; // w8
__int64 v3; // x20
FMOD::DSP *v5; // x0
bool v6; // w1
FMOD::DSP *v7; // x0
bool v8; // w1
if ( (unsigned int)*(unsigned __int8 *)(a2 + 10) - 5 <= 1 )
{
v2 = *(unsigned __int8 *)(a2 + 9);
switch ( v2 )
{
case 3:
v5 = (FMOD::DSP *)sub_658C0();
FMOD::DSP::setBypass(v5, v6);
break;
case 2:
v7 = (FMOD::DSP *)sub_658C0();
FMOD::DSP::setActive(v7, v8);
break;
case 1:
v3 = a2 + 12;
if ( (unsigned int)sub_E3DD4(a2 + 12, "Show Delays") )
{
if ( !(unsigned int)sub_E3DD4(v3, "Show None") )
*(_DWORD *)(a1 + 80) = 0;
}
else
{
*(_DWORD *)(a1 + 80) = 1;
}
break;
}
}
return 0;
}