//
// sub_52FF4 from 0x52ff4 to 0x5305a (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:44 +0000
//
int __fastcall sub_52FF4(int a1, int a2)
{
int v3; // r0
int v4; // r5
int v5; // r0
if ( (unsigned __int8)(*(_BYTE *)(a2 + 10) - 5) <= 1u )
{
v3 = *(unsigned __int8 *)(a2 + 9);
switch ( v3 )
{
case 3:
FMOD::DSP::setBypass(*(FMOD::DSP **)(a2 + 12), *(_BYTE *)(a2 + 20) != 0);
break;
case 2:
FMOD::DSP::setActive(*(FMOD::DSP **)(a2 + 12), *(_BYTE *)(a2 + 20) != 0);
break;
case 1:
v4 = a2 + 12;
if ( !sub_BE2D6(a2 + 12, "Show Delays") )
{
v5 = 1;
goto LABEL_11;
}
if ( !sub_BE2D6(v4, "Show None") )
{
v5 = 0;
LABEL_11:
*(_DWORD *)(a1 + 44) = v5;
}
break;
}
}
return 0;
}