//
// sub_18009F220 from 0x18009f220 to 0x18009f2f1 (209 bytes)
//
// 2 xrefs:
// > sub_180089090 @ 0x18008909e
// > ??> @ 0x1801fad7c
//
// This function is hookable on this platform (idp: pc, 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 10:53:52 +0000
//
__int64 __fastcall sub_18009F220(_QWORD *a1)
{
__int64 result; // rax
__int64 v3; // rdx
int v4; // [rsp+20h] [rbp-18h]
char v5; // [rsp+20h] [rbp-18h]
if ( *a1 )
{
v5 = 1;
result = sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
*a1,
"C:\\buildagent1\\work\\570ad728b1678096\\external\\dsps\\sfx\\foreverb\\aSfxDsp.cpp",
100,
v5);
a1[1] = 0;
*a1 = 0;
}
v3 = a1[165];
if ( v3 )
{
LOBYTE(v4) = 1;
result = sub_1800B6AA0(
*((_QWORD *)off_1801AED20 + 52),
v3,
"C:\\buildagent1\\work\\570ad728b1678096\\external\\dsps\\sfx\\foreverb\\aSfxDsp.cpp",
187,
v4);
}
a1[165] = 0;
a1[139] = 0;
a1[178] = 0;
a1[179] = 0;
a1[94] = 0;
a1[95] = 0;
a1[96] = 0;
a1[97] = 0;
a1[98] = 0;
a1[99] = 0;
a1[100] = 0;
a1[101] = 0;
return result;
}