//
// PromoInterstitial::onClose from 0x1002d4890 to 0x1002d48dc (76 bytes)
//
// 1 xrefs:
// > PromoInterstitial::setup @ 0x1002d4673
//
// 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 __fastcall PromoInterstitial::onClose(PromoInterstitial *a1, cocos2d::CCObject *a2)
{
GameManager::sharedState()->m_unkBool7 = 0;
if ( a1->m_showAdBanner && GameManager::sharedState()->m_playLayer )
AdToolbox::enableBanner();
((void (__fastcall *)(PromoInterstitial *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}