//
// SFXBrowser::onClose from 0x1001695f4 to 0x10016964c (88 bytes)
//
// 3 xrefs:
// > SFXBrowser::keyBackClicked @ 0x10016a884
// > sub_10016A888 @ 0x10016a88c
// > SFXBrowser::init @ 0x100168c8c
//
// 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 SFXBrowser::onClose(SFXBrowser *a1, cocos2d::CCObject *a2)
{
SFXBrowserDelegate *m_delegate; // x0
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(SFXBrowserDelegate *, SFXBrowser *))m_delegate->sfxBrowserClosed)(m_delegate, a1);
((void (__fastcall *)(SFXBrowser *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(SFXBrowser *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}