//
// sub_18008AFC0 from 0x18008afc0 to 0x18008b03d (125 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ae728
// > ??> @ 0x1801fa53c
//
// 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_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;
}