//
// GJPromoPopup::onClose from 0x8c3a20 to 0x8c3a8c (108 bytes)
//
// 4 xrefs:
// > GJPromoPopup::keyBackClicked @ 0x8c3a90
// > ??> @ 0xc6168
// > GJPromoPopup::init @ 0x8d99c0
// > ??> @ 0x122ee40
//
// 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 GJPromoPopup::onClose(GJPromoPopup *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
v3 = cocos2d::CCDirector::sharedDirector();
v4 = v3->getTouchDispatcher(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
cocos2d::CCNode::stopAllActions(a1);
cocos2d::CCNode::unscheduleAllSelectors(a1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}