//
// sub_100571C84 from 0x100571c84 to 0x100571d6c (232 bytes)
//
// 1 xrefs:
// > sub_100570DE0 @ 0x10057112c
//
// This function is hookable on this platform (idp: arm, 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 11:08:18 +0000
//
__int64 __fastcall sub_100571C84(__int64 a1)
{
void *v2; // x0
__int64 i; // x20
__int64 result; // x0
__int64 v5; // x8
v2 = (void *)(**(__int64 (__fastcall ***)(__int64, _QWORD, const char *))(a1 + 40))(
584,
0,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_dsp_multiband_eq.cpp");
*(_QWORD *)(a1 + 8) = v2;
if ( !v2 )
return 38;
bzero(v2, 0x248u);
sub_100570DE0();
if ( dword_1009D5758 >= 1 )
{
for ( i = 0; i < dword_1009D5758; ++i )
{
v5 = *(_QWORD *)(qword_1009D5760 + 8 * i);
if ( *(_DWORD *)v5 == 1 )
{
result = off_1009D5770(a1, i, *(unsigned int *)(v5 + 56));
if ( (_DWORD)result )
return result;
}
else if ( !*(_DWORD *)v5 )
{
result = off_1009D5768(a1, i, *(float *)(v5 + 56));
if ( (_DWORD)result )
return result;
}
}
}
return 0;
}