//
// EditorSoundBrowserLayer::onConfigViewClicked from 0x781ba8 to 0x781bd8 (48 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0x781bdc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:29 +0000
//
_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *this, GJEditorSoundConfig *a2)
{
int v2; // r3
int v3; // r3
if ( a2 )
{
v2 = *(this + 182);
if ( v2 )
{
if ( v2 == 1 )
v3 = 2;
else
v3 = 0;
}
else
{
v3 = 1;
}
this = (_DWORD *)EditorSoundConfigInfoLayer::create(a2, v3, this);
if ( this )
return (_DWORD *)(*(int (__fastcall **)(_DWORD *))(*this + 656))(this);
}
return this;
}