//
// FMOD::DSP::showConfigDialog from 0x100486e10 to 0x100486f38 (296 bytes)
//
// 1 xrefs:
// > sub_100454278 @ 0x100454284
//
// 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
//
// local variable allocation has failed, the output may be wrong!
FMOD_RESULT __fastcall FMOD::DSP::showConfigDialog(FMOD::DSP *a1, void *a2, bool a3)
{
_BOOL8 v3; // x21
int v6; // w3
int v7; // w4
int v8; // w5
int v9; // w6
int v10; // w7
__int64 v11; // x19
int v12; // w0
__int64 v13; // x22
int v14; // w3
int v15; // w4
int v16; // w5
int v17; // w6
int v18; // w7
int v19; // w0
__int64 v21; // [xsp+8h] [xbp-158h] BYREF
__int64 v22; // [xsp+10h] [xbp-150h] BYREF
_BYTE v23[256]; // [xsp+18h] [xbp-148h] BYREF
v3 = a3;
v21 = 0;
v11 = sub_1004A3DB0(a1, &v22, &v21);
if ( (_DWORD)v11 || (v11 = sub_1004A82A8(v22, a2, v3), (_DWORD)v11) )
{
if ( (*((_BYTE *)off_1008524C8 + 32) & 0x80) != 0 )
{
v12 = sub_100436324((int)v23, 0x100u, (char)a2, v6, v7, v8, v9, v10);
v13 = v12;
v19 = sub_100435EB4(&v23[v12], (unsigned int)(256 - v12), ", ", v14, v15, v16, v17, v18);
sub_100435E24(&v23[v13 + v19], (unsigned int)(256 - (v13 + v19)), v3);
sub_10048489C(v11, 7, (__int64)a1, (__int64)"DSP::showConfigDialog", (__int64)v23);
}
}
if ( v21 )
sub_100442D80(v21);
return (unsigned int)v11;
}