{"type": "func", "start": 2878092, "end": 2878154, "name": "AdToolbox::hasCachedRewardedVideo", "pseudocode": "// \n// AdToolbox::hasCachedRewardedVideo from 0x2bea8c to 0x2beaca (62 bytes)\n// \n// 6 xrefs:\n// > GameManager::canShowRewardedVideo @ 0x322100\n// > GJGarageLayer::onRewardedVideo @ 0x4025b6\n// > RetryLevelLayer::onRewardedVideo @ 0x4360fa\n// > GauntletSelectLayer::onPlay @ 0x4d6d00\n// > GJShopLayer::onVideoAd @ 0x4e2292\n// > FollowRewardPage::onRewardedVideo @ 0x4ffa1a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool AdToolbox::hasCachedRewardedVideo()\n{\n  int StaticMethodInfo; // r0\n  int v1; // r3\n  int v3[3]; // [sp+0h] [bp-10h] BYREF\n\n  StaticMethodInfo = cocos2d::JniHelper::getStaticMethodInfo(\n                       v3,\n                       \"com/customRobTop/BaseRobTopActivity\",\n                       \"hasCachedRewardedVideo\",\n                       \"()Z\");\n  if ( StaticMethodInfo )\n    LOBYTE(StaticMethodInfo) = _JNIEnv::CallStaticBooleanMethod(v3[0], v3[1], v3[2], v1) != 0;\n  return StaticMethodInfo;\n}", "assembly": "; \n; AdToolbox::hasCachedRewardedVideo from 0x2bea8c to 0x2beaca (62 bytes)\n; \n; 6 xrefs:\n; > GameManager::canShowRewardedVideo @ 0x322100\n; > GJGarageLayer::onRewardedVideo @ 0x4025b6\n; > RetryLevelLayer::onRewardedVideo @ 0x4360fa\n; > GauntletSelectLayer::onPlay @ 0x4d6d00\n; > GJShopLayer::onVideoAd @ 0x4e2292\n; > FollowRewardPage::onRewardedVideo @ 0x4ffa1a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R0-R4,LR}                                             ; +0x0, 0x2bea8c\nMOV             R0, SP                                                 ; +0x2, 0x2bea8e\nLDR             R4, =(__stack_chk_guard_ptr - 0x2BEA98)                ; +0x4, 0x2bea90\nLDR             R1, =(aComCustomrobto - 0x2BEA9E); \"com/customRobTop/BaseRobTopActivity\" ; +0x6, 0x2bea92\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x8, 0x2bea94\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xa, 0x2bea96\nLDR             R2, =(aHascachedrewar - 0x2BEAA2); \"hasCachedRewardedVideo\" ; +0xc, 0x2bea98\nADD             R1, PC; \"com/customRobTop/BaseRobTopActivity\"          ; +0xe, 0x2bea9a\nLDR             R3, [R4]                                               ; +0x10, 0x2bea9c\nADD             R2, PC; \"hasCachedRewardedVideo\"                       ; +0x12, 0x2bea9e\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x2beaa0\nLDR             R3, =(aZ - 0x2BEAA8); \"()Z\"                            ; +0x16, 0x2beaa2\nADD             R3, PC; \"()Z\"                                          ; +0x18, 0x2beaa4\nBL              _ZN7cocos2d9JniHelper19getStaticMethodInfoERNS_14JniMethodInfo_EPKcS4_S4_; cocos2d::JniHelper::getStaticMethodInfo(cocos2d::JniMethodInfo_ &,char const*,char const*,char const*) ; +0x1a, 0x2beaa6\nCBZ             R0, loc_2BEABA                                         ; +0x1e, 0x2beaaa\nLDMFD.W         SP, {R0-R2}                                            ; +0x20, 0x2beaac\nBL              _ZN7_JNIEnv23CallStaticBooleanMethodEP7_jclassP10_jmethodIDz; _JNIEnv::CallStaticBooleanMethod(_jclass *,_jmethodID *,...) ; +0x24, 0x2beab0\nADDS            R0, #0                                                 ; +0x28, 0x2beab4\nIT NE                                                                  ; +0x2a, 0x2beab6\nMOVNE           R0, #1                                                 ; +0x2c, 0x2beab8\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x2e, 0x2beaba\nLDR             R3, [R4]                                               ; +0x30, 0x2beabc\nCMP             R2, R3                                                 ; +0x32, 0x2beabe\nBEQ             loc_2BEAC6                                             ; +0x34, 0x2beac0\nBLX             __stack_chk_fail                                       ; +0x36, 0x2beac2\nADD             SP, SP, #0x10                                          ; +0x3a, 0x2beac6\nPOP             {R4,PC}                                                ; +0x3c, 0x2beac8", "xrefs": ["GameManager::canShowRewardedVideo @ 0x322100", "GJGarageLayer::onRewardedVideo @ 0x4025b6", "RetryLevelLayer::onRewardedVideo @ 0x4360fa", "GauntletSelectLayer::onPlay @ 0x4d6d00", "GJShopLayer::onVideoAd @ 0x4e2292", "FollowRewardPage::onRewardedVideo @ 0x4ffa1a"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}