//
// SFXBrowser::onClose from 0xa5ca60 to 0xa5cabc (92 bytes)
//
// 4 xrefs:
// > SFXBrowser::keyBackClicked @ 0xa5cac0
// > ??> @ 0x719b8
// > sub_A5DEA4 @ 0xa5e31c
// > ??> @ 0x122bbe0
//
// 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 SFXBrowser::onClose(SFXBrowser *a1, cocos2d::CCObject *a2)
{
SFXBrowserDelegate *m_delegate; // x0
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->sfxBrowserClosed(m_delegate, a1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}