//
// CustomSFXWidget::onToggleSelect from 0xb5f0cc to 0xb5f114 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0xaa698
// > CustomSFXWidget::init @ 0xb60428
// > ??> @ 0x1544d00
//
// 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:02:11 +0000
//
CustomSFXWidget *__fastcall CustomSFXWidget::onToggleSelect(CustomSFXWidget *this, cocos2d::CCObject *a2)
{
CustomSFXWidget *v2; // x19
__int64 v3; // x0
if ( *((_QWORD *)this + 42) )
{
v2 = this;
v3 = *((_QWORD *)this + 60);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 48LL))(v3);
return (CustomSFXWidget *)CustomSFXWidget::updateSFXInfo(v2);
}
return this;
}