//
// sub_18010E450 from 0x18010e450 to 0x18010e505 (181 bytes)
//
// 2 xrefs:
// > sub_180110290 @ 0x180110770
// > ??> @ 0x180201a60
//
// 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_18010E450(__int64 a1)
{
void *v2; // rax
__int64 result; // rax
unsigned int v4; // ebx
__int64 v5; // rdi
__int64 i; // rsi
_DWORD *v7; // rdx
v2 = (void *)(**(__int64 (__fastcall ***)(__int64, _QWORD, const char *))(a1 + 40))(
584,
0,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_dsp_multiband_eq.cpp");
*(_QWORD *)(a1 + 8) = v2;
if ( !v2 )
return 38;
memset(v2, 0, 0x248u);
v4 = 0;
v5 = sub_180110290();
if ( *(int *)(v5 + 96) > 0 )
{
for ( i = 0; ; i += 8 )
{
v7 = *(_DWORD **)(i + *(_QWORD *)(v5 + 104));
if ( !*v7 )
break;
if ( *v7 == 1 )
{
result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(v5 + 120))(a1, v4, (unsigned int)v7[14]);
LABEL_9:
if ( (_DWORD)result )
return result;
}
if ( (signed int)++v4 >= *(_DWORD *)(v5 + 96) )
return 0;
}
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(v5 + 112))(a1, v4);
goto LABEL_9;
}
return 0;
}