//
// PromoInterstitial::onClose from 0x433c46 to 0x433c7a (52 bytes)
//
// 2 xrefs:
// > PromoInterstitial::keyBackClicked @ 0x433c90
// > PromoInterstitial::onClick @ 0x433cbe
//
// 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 PromoInterstitial::onClose(PromoInterstitial *a1, cocos2d::CCObject *a2)
{
GameManager::sharedState()->m_unkBool7 = 0;
if ( a1->m_showAdBanner && GameManager::sharedState()->m_playLayer )
AdToolbox::enableBanner();
a1->removeFromParentAndCleanup(a1, 1);
}