//
// sub_1800E30C0 from 0x1800e30c0 to 0x1800e31c0 (256 bytes)
//
// 5 xrefs:
// > FMOD::System::createReverb3D @ 0x1800ac380
// > ??> @ 0x18018d790
// > ??> @ 0x18018d7a4
// > ??> @ 0x18018d7b4
// > ??> @ 0x1801ffa8c
//
// 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_1800E30C0(__int64 a1, __int64 *a2)
{
void *v4; // rax
__int64 v5; // rax
__int64 v6; // rbx
unsigned int v7; // esi
v4 = sub_1800B6530(
*((_QWORD *)off_1801AED20 + 52),
120,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_systemi.cpp",
5048,
0,
0,
1);
if ( !v4 )
return 38;
v5 = sub_1800DBE50((__int64)v4);
v6 = v5;
if ( !v5 )
return 38;
v7 = sub_1800DC140(v5, a1);
if ( v7 )
{
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)v6);
return v7;
}
else
{
*(_QWORD *)(v6 + 8) = *(_QWORD *)(a1 + 74072);
*(_QWORD *)v6 = a1 + 74064;
*(_QWORD *)(a1 + 74072) = v6;
**(_QWORD **)(v6 + 8) = v6;
*(_QWORD *)(v6 + 16) = v6;
if ( a2 )
*a2 = v6;
return 0;
}
}