//
// EditorSoundBrowserLayer::onConfigViewClicked from 0x1004ce2b8 to 0x1004ce308 (80 bytes)
//
// 2 xrefs:
// > sub_1004CE308 @ 0x1004ce30c
// > ??> @ 0x100988180
//
// This function is hookable on this platform (idp: arm, 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:06:27 +0000
//
_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *result, __int64 a2)
{
int v2; // w8
__int64 v3; // x8
if ( a2 )
{
v2 = result[262];
if ( v2 )
v3 = 2 * (unsigned int)(v2 == 1);
else
v3 = 1;
result = (_DWORD *)sub_1004CF934(a2, v3, result);
if ( result )
return (_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)result + 1312LL))(result);
}
return result;
}