{"type": "func", "start": 3758256, "end": 3758318, "name": "AdToolbox::hasCachedRewardedVideo", "pseudocode": "// \n// AdToolbox::hasCachedRewardedVideo from 0x3958b0 to 0x3958ee (62 bytes)\n// \n// 6 xrefs:\n// > GameManager::canShowRewardedVideo @ 0x415138\n// > GJGarageLayer::onRewardedVideo @ 0x50c024\n// > RetryLevelLayer::onRewardedVideo @ 0x547374\n// > GauntletSelectLayer::onPlay @ 0x60af0a\n// > GJShopLayer::onVideoAd @ 0x61110a\n// > FollowRewardPage::onRewardedVideo @ 0x630060\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:19 +0000\n// \n\nint __fastcall AdToolbox::hasCachedRewardedVideo(AdToolbox *this, int a2, int a3, int a4)\n{\n  int result; // r0\n  int v5; // r3\n  AdToolbox *v6; // [sp+0h] [bp-10h] BYREF\n  int v7; // [sp+4h] [bp-Ch]\n  int v8; // [sp+8h] [bp-8h]\n  int v9; // [sp+Ch] [bp-4h]\n\n  v6 = this;\n  v7 = a2;\n  v8 = a3;\n  v9 = a4;\n  result = cocos2d::JniHelper::getStaticMethodInfo(\n             &v6,\n             \"com/customRobTop/BaseRobTopActivity\",\n             \"hasCachedRewardedVideo\",\n             \"()Z\");\n  if ( result )\n    return _JNIEnv::CallStaticBooleanMethod((int)v6, v7, v8, v5) != 0;\n  return result;\n}", "assembly": "; \n; AdToolbox::hasCachedRewardedVideo from 0x3958b0 to 0x3958ee (62 bytes)\n; \n; 6 xrefs:\n; > GameManager::canShowRewardedVideo @ 0x415138\n; > GJGarageLayer::onRewardedVideo @ 0x50c024\n; > RetryLevelLayer::onRewardedVideo @ 0x547374\n; > GauntletSelectLayer::onPlay @ 0x60af0a\n; > GJShopLayer::onVideoAd @ 0x61110a\n; > FollowRewardPage::onRewardedVideo @ 0x630060\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:19 +0000\n; \nPUSH            {R0-R4,LR}                                             ; +0x0, 0x3958b0\nMOV             R0, SP                                                 ; +0x2, 0x3958b2\nLDR             R4, =(__stack_chk_guard_ptr - 0x3958BC)                ; +0x4, 0x3958b4\nLDR             R1, =(aComCustomrobto - 0x3958C2); \"com/customRobTop/BaseRobTopActivity\" ; +0x6, 0x3958b6\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x8, 0x3958b8\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xa, 0x3958ba\nLDR             R2, =(aHascachedrewar - 0x3958C6); \"hasCachedRewardedVideo\" ; +0xc, 0x3958bc\nADD             R1, PC; \"com/customRobTop/BaseRobTopActivity\"          ; +0xe, 0x3958be\nLDR             R3, [R4]                                               ; +0x10, 0x3958c0\nADD             R2, PC; \"hasCachedRewardedVideo\"                       ; +0x12, 0x3958c2\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x3958c4\nLDR             R3, =(aZ - 0x3958CC); \"()Z\"                            ; +0x16, 0x3958c6\nADD             R3, PC; \"()Z\"                                          ; +0x18, 0x3958c8\nBL              _ZN7cocos2d9JniHelper19getStaticMethodInfoERNS_14JniMethodInfo_EPKcS4_S4_; cocos2d::JniHelper::getStaticMethodInfo(cocos2d::JniMethodInfo_ &,char const*,char const*,char const*) ; +0x1a, 0x3958ca\nCBZ             R0, loc_3958DE                                         ; +0x1e, 0x3958ce\nLDMFD.W         SP, {R0-R2}                                            ; +0x20, 0x3958d0\nBL              _ZN7_JNIEnv23CallStaticBooleanMethodEP7_jclassP10_jmethodIDz; _JNIEnv::CallStaticBooleanMethod(_jclass *,_jmethodID *,...) ; +0x24, 0x3958d4\nADDS            R0, #0                                                 ; +0x28, 0x3958d8\nIT NE                                                                  ; +0x2a, 0x3958da\nMOVNE           R0, #1                                                 ; +0x2c, 0x3958dc\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x2e, 0x3958de\nLDR             R3, [R4]                                               ; +0x30, 0x3958e0\nCMP             R2, R3                                                 ; +0x32, 0x3958e2\nBEQ             loc_3958EA                                             ; +0x34, 0x3958e4\nBLX             __stack_chk_fail                                       ; +0x36, 0x3958e6\nADD             SP, SP, #0x10                                          ; +0x3a, 0x3958ea\nPOP             {R4,PC}                                                ; +0x3c, 0x3958ec", "xrefs": ["GameManager::canShowRewardedVideo @ 0x415138", "GJGarageLayer::onRewardedVideo @ 0x50c024", "RetryLevelLayer::onRewardedVideo @ 0x547374", "GauntletSelectLayer::onPlay @ 0x60af0a", "GJShopLayer::onVideoAd @ 0x61110a", "FollowRewardPage::onRewardedVideo @ 0x630060"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}