//
// sub_18008AFC0 from 0x18008afc0 to 0x18008b03d (125 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ae728
// > ??> @ 0x1801fa53c
//
// 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:53:42 +0000
//
__int64 __fastcall sub_18008AFC0(__int64 *a1, int a2, _DWORD *a3, __int64 a4)
{
__int64 v4; // rcx
int v5; // ecx
int v6; // ecx
if ( a2 == 5 )
{
v4 = *a1;
*a3 = *(_DWORD *)(v4 + 9732);
if ( a4 )
{
v5 = *(_DWORD *)(v4 + 9732);
if ( v5 )
{
v6 = v5 - 1;
if ( !v6 )
{
sub_1800B7CA0(a4, 32, "24dB");
return 0;
}
if ( v6 == 1 )
{
sub_1800B7CA0(a4, 32, "48dB");
return 0;
}
}
else
{
sub_1800B7CA0(a4, 32, "12dB");
}
}
}
return 0;
}