//
// EditorSoundBrowserLayer::onConfigViewClicked from 0xcc855c to 0xcc85ac (80 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0xcc85b0
// > ??> @ 0xb0da0
// > ??> @ 0x14fde48
//
// 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 13:06:22 +0000
//
_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *this, GJEditorSoundConfig *a2)
{
int v2; // w2
unsigned int v3; // w3
if ( a2 )
{
v2 = *(this + 262);
v3 = 1;
if ( v2 )
{
if ( v2 == 1 )
v3 = 2;
else
v3 = 0;
}
this = (_DWORD *)EditorSoundConfigInfoLayer::create(a2, v3, this);
if ( this )
return (_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)this + 1312LL))(this);
}
return this;
}