//
// AdToolbox::hasCachedRewardedVideo from 0x4ed8d8 to 0x4ed960 (136 bytes)
//
// 7 xrefs:
// > GameManager::canShowRewardedVideo @ 0x5eb08c
// > GJGarageLayer::onRewardedVideo @ 0x7904e4
// > RetryLevelLayer::onRewardedVideo @ 0x7ee758
// > GauntletSelectLayer::onPlay @ 0x917b6c
// > GJShopLayer::onVideoAd @ 0x92c208
// > FollowRewardPage::onRewardedVideo @ 0x9634a4
// > ??> @ 0x2c070
//
// 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
//
bool AdToolbox::hasCachedRewardedVideo()
{
int StaticMethodInfo; // w1
bool result; // w0
__int64 v2[3]; // [xsp+20h] [xbp+20h] BYREF
StaticMethodInfo = (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
v2,
"com/customRobTop/BaseRobTopActivity",
"hasCachedRewardedVideo",
"()Z");
result = 0;
if ( StaticMethodInfo )
return (unsigned __int8)_JNIEnv::CallStaticBooleanMethod(v2[0], v2[1], v2[2]) != 0;
return result;
}