//
// sub_1800E2D80 from 0x1800e2d80 to 0x1800e2df3 (115 bytes)
//
// 2 xrefs:
// > FMOD::System::createDSP @ 0x1800abe6b
// > ??> @ 0x1801ffa2c
//
// 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_1800E2D80(__int64 a1, __int64 a2, __int64 *a3)
{
__int64 v5; // rcx
__int64 result; // rax
if ( !a3 )
return 31;
*a3 = 0;
if ( !a2 )
return 31;
v5 = *(_QWORD *)(a1 + 69128);
if ( !v5 )
return 67;
result = sub_1800D7620(v5, nullptr, a2, a3);
if ( !(_DWORD)result )
{
*(_QWORD *)(*a3 + 168) = a1;
return 0;
}
return result;
}