//
// FMOD::DSP::showConfigDialog from 0x1800a41c0 to 0x1800a42f4 (308 bytes)
//
// 5 xrefs:
// > FMOD_DSP_ShowConfigDialog @ 0x1800c5f00
// > ??> @ 0x18018660c
// > ??> @ 0x180186640
// > ??> @ 0x180194348
// > ??> @ 0x1801fb550
//
// 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:53 +0000
//
__int64 __fastcall FMOD::DSP::showConfigDialog(__int64 a1, __int64 a2, unsigned __int8 a3)
{
int v5; // r14d
unsigned int v6; // esi
int v7; // ebx
int v8; // eax
__int64 v10; // [rsp+30h] [rbp-148h] BYREF
__int64 v11; // [rsp+38h] [rbp-140h] BYREF
_BYTE v12[256]; // [rsp+40h] [rbp-138h] BYREF
v10 = 0;
v5 = a1;
v6 = FMOD::DSPI::validate(a1, &v11, &v10);
if ( (v6 || (v6 = sub_18009C5E0(v11, a2, a3)) != 0) && *((char *)off_1801AED20 + 16) < 0 )
{
v7 = sub_1800F3230(v12, 256, a2);
v8 = sub_1800F2F70(&v12[v7]);
sub_1800F3320(&v12[v8 + v7]);
sub_1800B20E0(v6, 7, v5, (unsigned int)"DSP::showConfigDialog", (__int64)v12);
}
if ( v10 )
sub_180102320();
return v6;
}