//
// GJShopLayer::onVideoAd from 0x92c1e4 to 0x92c234 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x83778
//
// 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 GJShopLayer::onVideoAd(GJShopLayer *a1, cocos2d::CCObject *a2)
{
if ( !a1->m_videoPlaying && AdToolbox::hasCachedRewardedVideo() )
{
a1->m_videoPlaying = (unsigned __int8)&dword_0 + 1;
GameManager::sharedState()->m_rewardedVideoDelegate = &a1->RewardedVideoDelegate;
AdToolbox::showRewardedVideo();
}
}