//
// sub_5DAE4 from 0x5dae4 to 0x5db8e (170 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:50 +0000
//
int __fastcall sub_5DAE4(int a1)
{
int v2; // r8
int v3; // r0
int v4; // r1
int v5; // r2
int v6; // r6
int v7; // r5
int v8; // r3
int *v9; // r0
int result; // r0
int v11; // [sp+0h] [bp-20h]
int v12; // [sp+4h] [bp-1Ch]
int v13; // [sp+8h] [bp-18h]
int v14; // [sp+Ch] [bp-14h] BYREF
v2 = *((_DWORD *)off_E8000 + *(_DWORD *)(a1 + 28) + 75);
sub_5E6B0();
v11 = 0;
v12 = 0;
v13 = 1;
v3 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 52, "../../src/fmod_dsp_convolutionreverb.cpp", 588);
if ( !v3 )
return 38;
v6 = v3;
*(_DWORD *)(sub_5DFB0(v3, v4, v5) + 4) = v2;
v7 = 0;
sub_57A48(v2, &v14, nullptr);
*(_DWORD *)(v6 + 8) = v14;
*(_DWORD *)(a1 + 4) = v6;
while ( 1 )
{
if ( v7 >= dword_E867C )
return 0;
v9 = off_E8680[v7];
if ( *v9 )
break;
result = sub_5DD14(a1, v7, v9[12], v8, v11, v12, v13);
if ( result )
return result;
LABEL_9:
++v7;
}
if ( *v9 != 2 )
goto LABEL_9;
if ( v7 == 3 )
{
*(_BYTE *)(*(_DWORD *)(a1 + 4) + 12) = v9[10] != 0;
goto LABEL_9;
}
return 31;
}