//
// SetupSFXPopup::onBrowseSFX from 0x10018091c to 0x100180968 (76 bytes)
//
// 1 xrefs:
// > SetupSFXPopup::init @ 0x100180610
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupSFXPopup::onBrowseSFX(SetupSFXPopup *a1, cocos2d::CCObject *a2)
{
CustomSFXWidget *m_sfxWidget; // x0
SFXBrowser *v4; // x0
m_sfxWidget = a1->m_sfxWidget;
if ( m_sfxWidget )
{
((void (__fastcall *)(CustomSFXWidget *, cocos2d::CCObject *))m_sfxWidget->removeMeAndCleanup)(m_sfxWidget, a2);
a1->m_sfxWidget = nullptr;
}
v4 = SFXBrowser::create(a1->m_sfxID);
v4->m_delegate = &a1->SFXBrowserDelegate;
((void (__fastcall *)(SFXBrowser *))v4->show)(v4);
}