//
// EditorSoundBrowserLayer::onConfigViewClicked from 0x140190560 to 0x1401905b6 (86 bytes)
//
// 2 xrefs:
// > ??> @ 0x14074c2b8
// > ??> @ 0x1409192c8
//
// 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 11:27:42 +0000
//
void __fastcall EditorSoundBrowserLayer::onConfigViewClicked(__int64 a1, __int64 a2)
{
int v3; // eax
__int64 v4; // rdx
__int64 v5; // rax
if ( a2 )
{
v3 = *(_DWORD *)(a1 + 24);
v4 = 0;
if ( v3 )
{
if ( v3 == 1 )
v4 = 2;
}
else
{
v4 = 1;
}
v5 = EditorSoundConfigInfoLayer::create(a2, v4, a1 - 1008);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1064LL))(v5);
}
}