//
// sub_1800DBAC0 from 0x1800dbac0 to 0x1800dbb67 (167 bytes)
//
// 6 xrefs:
// > ??> @ 0x18016cf70
// > ??> @ 0x18018ca90
// > ??> @ 0x18018caa0
// > ??> @ 0x18018cab4
// > ??> @ 0x18018cac4
// > ??> @ 0x1801ff3f0
//
// This function is hookable on this platform (idp: pc, 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 10:54:13 +0000
//
__int64 __fastcall sub_1800DBAC0(__int64 a1, _BYTE *a2)
{
char v3; // al
char *v4; // rdi
__int64 result; // rax
if ( (unsigned __int8)(a2[10] - 5) > 1u )
return 0;
v3 = a2[9];
switch ( v3 )
{
case 1:
v4 = a2 + 12;
if ( !(unsigned int)sub_1800B7EF0(a2 + 12, "Show Delays") )
{
*(_DWORD *)(a1 + 80) = 1;
return 0;
}
result = sub_1800B7EF0(v4, "Show None");
if ( (_DWORD)result )
return 0;
*(_DWORD *)(a1 + 80) = 0;
break;
case 2:
FMOD::DSP::setActive(*(_QWORD *)(a2 + 12), a2[20] != 0);
return 0;
case 3:
FMOD::DSP::setBypass(*(_QWORD *)(a2 + 12), a2[20] != 0);
return 0;
default:
return 0;
}
return result;
}