//
// AdToolbox::hasCachedRewardedVideo from 0x642544 to 0x6425cc (136 bytes)
//
// 7 xrefs:
// > GameManager::canShowRewardedVideo @ 0x715c9c
// > GJGarageLayer::onRewardedVideo @ 0x8bb3fc
// > RetryLevelLayer::onRewardedVideo @ 0x918be8
// > GauntletSelectLayer::onPlay @ 0xa737c4
// > GJShopLayer::onVideoAd @ 0xa7c9ec
// > FollowRewardPage::onRewardedVideo @ 0xaaa978
// > ??> @ 0x42a30
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:18 +0000
//
bool __fastcall AdToolbox::hasCachedRewardedVideo(AdToolbox *this)
{
int StaticMethodInfo; // w1
_BOOL8 result; // x0
__int64 v3[3]; // [xsp+20h] [xbp+20h] BYREF
StaticMethodInfo = (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
v3,
"com/customRobTop/BaseRobTopActivity",
"hasCachedRewardedVideo",
"()Z");
result = 0;
if ( StaticMethodInfo )
return (unsigned __int8)_JNIEnv::CallStaticBooleanMethod(v3[0], v3[1], v3[2]) != 0;
return result;
}