//
// CustomizeObjectSettingsPopup::onClose from 0x463d7e to 0x463db6 (56 bytes)
//
// 0 xrefs:
//
// 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 CustomizeObjectSettingsPopup::onClose(CustomizeObjectSettingsPopup *a1, cocos2d::CCObject *a2)
{
CustomizeObjectLayer *m_customizeLayer; // r5
cocos2d::CCDirector *v5; // r0
cocos2d::CCTouchDispatcher *v6; // r0
m_customizeLayer = a1->m_customizeLayer;
if ( m_customizeLayer )
m_customizeLayer = (CustomizeObjectLayer *)a1->m_settingsChanged;
v5 = cocos2d::CCDirector::sharedDirector();
v6 = v5->getTouchDispatcher(v5);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1);
SetupTriggerPopup::onClose(a1, a2);
if ( m_customizeLayer )
CustomizeObjectLayer::recreateLayer(a1->m_customizeLayer);
}