{"type": "func", "start": 6563140, "end": 6563276, "name": "AdToolbox::hasCachedRewardedVideo", "pseudocode": "// \n// AdToolbox::hasCachedRewardedVideo from 0x642544 to 0x6425cc (136 bytes)\n// \n// 7 xrefs:\n// > GameManager::canShowRewardedVideo @ 0x715c9c\n// > GJGarageLayer::onRewardedVideo @ 0x8bb3fc\n// > RetryLevelLayer::onRewardedVideo @ 0x918be8\n// > GauntletSelectLayer::onPlay @ 0xa737c4\n// > GJShopLayer::onVideoAd @ 0xa7c9ec\n// > FollowRewardPage::onRewardedVideo @ 0xaaa978\n// > <???> @ 0x42a30\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:18 +0000\n// \n\nbool __fastcall AdToolbox::hasCachedRewardedVideo(AdToolbox *this)\n{\n  int StaticMethodInfo; // w1\n  _BOOL8 result; // x0\n  __int64 v3[3]; // [xsp+20h] [xbp+20h] BYREF\n\n  StaticMethodInfo = (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(\n                                        v3,\n                                        \"com/customRobTop/BaseRobTopActivity\",\n                                        \"hasCachedRewardedVideo\",\n                                        \"()Z\");\n  result = 0;\n  if ( StaticMethodInfo )\n    return (unsigned __int8)_JNIEnv::CallStaticBooleanMethod(v3[0], v3[1], v3[2]) != 0;\n  return result;\n}", "assembly": "; \n; AdToolbox::hasCachedRewardedVideo from 0x642544 to 0x6425cc (136 bytes)\n; \n; 7 xrefs:\n; > GameManager::canShowRewardedVideo @ 0x715c9c\n; > GJGarageLayer::onRewardedVideo @ 0x8bb3fc\n; > RetryLevelLayer::onRewardedVideo @ 0x918be8\n; > GauntletSelectLayer::onPlay @ 0xa737c4\n; > GJShopLayer::onVideoAd @ 0xa7c9ec\n; > FollowRewardPage::onRewardedVideo @ 0xaaa978\n; > <???> @ 0x42a30\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:18 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x642544\nADRP            X1, #aComCustomrobto@PAGE; \"com/customRobTop/BaseRobTopActivity\" ; +0x4, 0x642548\nADRP            X2, #aHascachedrewar@PAGE; \"hasCachedRewardedVideo\"    ; +0x8, 0x64254c\nMOV             X29, SP                                                ; +0xc, 0x642550\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x10, 0x642554\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x642558\nADRP            X3, #aZ_0@PAGE; \"()Z\"                                  ; +0x18, 0x64255c\nADD             X1, X1, #aComCustomrobto@PAGEOFF; \"com/customRobTop/BaseRobTopActivity\" ; +0x1c, 0x642560\nADD             X0, X29, #0x40+var_20                                  ; +0x20, 0x642564\nADD             X2, X2, #aHascachedrewar@PAGEOFF; \"hasCachedRewardedVideo\" ; +0x24, 0x642568\nLDR             X4, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x64256c\nADD             X3, X3, #aZ_0@PAGEOFF; \"()Z\"                           ; +0x2c, 0x642570\nLDR             X4, [X4]                                               ; +0x30, 0x642574\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x34, 0x642578\nBL              _ZN7cocos2d9JniHelper19getStaticMethodInfoERNS_14JniMethodInfo_EPKcS4_S4_; cocos2d::JniHelper::getStaticMethodInfo(cocos2d::JniMethodInfo_ &,char const*,char const*,char const*) ; +0x38, 0x64257c\nUXTB            W1, W0                                                 ; +0x3c, 0x642580\nMOV             W0, #0                                                 ; +0x40, 0x642584\nCBZ             W1, loc_6425A8                                         ; +0x44, 0x642588\nLDR             X0, [X29,#0x40+var_20]                                 ; +0x48, 0x64258c\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x4c, 0x642590\nLDR             X2, [X29,#0x40+var_10]                                 ; +0x50, 0x642594\nBL              _ZN7_JNIEnv23CallStaticBooleanMethodEP7_jclassP10_jmethodIDz; _JNIEnv::CallStaticBooleanMethod(_jclass *,_jmethodID *,...) ; +0x54, 0x642598\nUXTB            W0, W0                                                 ; +0x58, 0x64259c\nCMP             W0, WZR                                                ; +0x5c, 0x6425a0\nCSET            W0, NE                                                 ; +0x60, 0x6425a4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x64, 0x6425a8\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x68, 0x6425ac\nLDR             X1, [X19]                                              ; +0x6c, 0x6425b0\nCMP             X2, X1                                                 ; +0x70, 0x6425b4\nB.NE            loc_6425C8                                             ; +0x74, 0x6425b8\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x78, 0x6425bc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x7c, 0x6425c0\nRET                                                                    ; +0x80, 0x6425c4\nBL              .__stack_chk_fail                                      ; +0x84, 0x6425c8", "xrefs": ["GameManager::canShowRewardedVideo @ 0x715c9c", "GJGarageLayer::onRewardedVideo @ 0x8bb3fc", "RetryLevelLayer::onRewardedVideo @ 0x918be8", "GauntletSelectLayer::onPlay @ 0xa737c4", "GJShopLayer::onVideoAd @ 0xa7c9ec", "FollowRewardPage::onRewardedVideo @ 0xaaa978", "<???> @ 0x42a30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}