//
// MenuLayer::tryShowAd from 0x30a054 to 0x30a08c (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 MenuLayer::tryShowAd(MenuLayer *a1, float a2)
{
GameManager *v3; // r0
GameManager *v4; // r0
v3 = GameManager::sharedState();
if ( GameManager::shouldShowInterstitial(v3, 180, 140, 0) )
{
v4 = GameManager::sharedState();
GameManager::showInterstitial(v4);
cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)MenuLayer::tryShowAd);
}
}