//
// sub_1800E2D80 from 0x1800e2d80 to 0x1800e2df3 (115 bytes)
//
// 2 xrefs:
// > FMOD::System::createDSP @ 0x1800abe6b
// > ??> @ 0x1801ffa2c
//
// 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:54:16 +0000
//
__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;
}