//
// SelectEventLayer::onClose from 0xa54358 to 0xa54398 (64 bytes)
//
// 2 xrefs:
// > ??> @ 0x7aa30
// > ??> @ 0x11e5538
//
// 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 SelectEventLayer::onClose(SelectEventLayer *a1, cocos2d::CCObject *a2)
{
SetupEventLinkPopup *m_eventLinkPopup; // x0
if ( a1->m_eventsChanged )
{
m_eventLinkPopup = a1->m_eventLinkPopup;
if ( m_eventLinkPopup )
SetupEventLinkPopup::updateEventIDs(m_eventLinkPopup, &a1->m_eventIDs);
}
SetupTriggerPopup::onClose(a1, a2);
}