// // MenuLayer::tryShowAd from 0x5c2290 to 0x5c22e4 (84 bytes) // // 3 xrefs: // > @ 0xad460 // > MenuLayer::tryShowAd @ 0x5c22d0 // > @ 0x122dfc0 // // 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; // x0 GameManager *v4; // x0 cocos2d::SEL_SCHEDULE v5; // 0:x1.16 v3 = GameManager::sharedState(); if ( GameManager::shouldShowInterstitial(v3, 180, 140, 0) ) { v4 = GameManager::sharedState(); GameManager::showInterstitial(v4); v5.adj = 0; v5.ptr = (void (__cdecl *)(float))MenuLayer::tryShowAd; cocos2d::CCNode::unschedule(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source