//
// CustomSFXWidget::onSelect from 0x140162060 to 0x14016207f (31 bytes)
//
// 3 xrefs:
// > CustomSFXWidget::init @ 0x140160a6f
// > CustomSFXWidget::init @ 0x140161127
// > CustomSFXWidget::init @ 0x1401612c5
//
// 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:25 +0000
//
__int64 __fastcall CustomSFXWidget::onSelect(__int64 a1)
{
__int64 (__fastcall ***v1)(_QWORD); // rcx
__int64 result; // rax
if ( *(_QWORD *)(a1 + 336) )
{
v1 = *(__int64 (__fastcall ****)(_QWORD))(a1 + 480);
if ( v1 )
return (**v1)(v1);
}
return result;
}