{"type": "func", "start": 5166824, "end": 5166944, "name": "AdToolbox::cacheInterstitial", "pseudocode": "// \n// AdToolbox::cacheInterstitial from 0x4ed6e8 to 0x4ed760 (120 bytes)\n// \n// 2 xrefs:\n// > GameManager::tryCacheAd @ 0x5eaee8\n// > <???> @ 0x2cad8\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\nvoid AdToolbox::cacheInterstitial()\n{\n  __int64 v0[3]; // [xsp+20h] [xbp+20h] BYREF\n\n  if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(\n                          v0,\n                          \"com/customRobTop/BaseRobTopActivity\",\n                          \"cacheInterstitial\",\n                          \"()V\") )\n    _JNIEnv::CallStaticVoidMethod(v0[0], v0[1], v0[2]);\n}", "assembly": "; \n; AdToolbox::cacheInterstitial from 0x4ed6e8 to 0x4ed760 (120 bytes)\n; \n; 2 xrefs:\n; > GameManager::tryCacheAd @ 0x5eaee8\n; > <???> @ 0x2cad8\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x4ed6e8\nADRP            X1, #aComCustomrobto@PAGE; \"com/customRobTop/BaseRobTopActivity\" ; +0x4, 0x4ed6ec\nADRP            X2, #aCacheinterstit@PAGE; \"cacheInterstitial\"         ; +0x8, 0x4ed6f0\nMOV             X29, SP                                                ; +0xc, 0x4ed6f4\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x10, 0x4ed6f8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x4ed6fc\nADRP            X3, #aV@PAGE; \"()V\"                                    ; +0x18, 0x4ed700\nADD             X0, X29, #0x40+var_20                                  ; +0x1c, 0x4ed704\nADD             X1, X1, #aComCustomrobto@PAGEOFF; \"com/customRobTop/BaseRobTopActivity\" ; +0x20, 0x4ed708\nADD             X2, X2, #aCacheinterstit@PAGEOFF; \"cacheInterstitial\"  ; +0x24, 0x4ed70c\nLDR             X4, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x4ed710\nADD             X3, X3, #aV@PAGEOFF; \"()V\"                             ; +0x2c, 0x4ed714\nLDR             X4, [X4]                                               ; +0x30, 0x4ed718\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x34, 0x4ed71c\nBL              _ZN7cocos2d9JniHelper19getStaticMethodInfoERNS_14JniMethodInfo_EPKcS4_S4_; cocos2d::JniHelper::getStaticMethodInfo(cocos2d::JniMethodInfo_ &,char const*,char const*,char const*) ; +0x38, 0x4ed720\nUXTB            W0, W0                                                 ; +0x3c, 0x4ed724\nCBZ             W0, loc_4ED73C                                         ; +0x40, 0x4ed728\nLDR             X0, [X29,#0x40+var_20]                                 ; +0x44, 0x4ed72c\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x48, 0x4ed730\nLDR             X2, [X29,#0x40+var_10]                                 ; +0x4c, 0x4ed734\nBL              _ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz; _JNIEnv::CallStaticVoidMethod(_jclass *,_jmethodID *,...) ; +0x50, 0x4ed738\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x54, 0x4ed73c\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x58, 0x4ed740\nLDR             X0, [X19]                                              ; +0x5c, 0x4ed744\nCMP             X1, X0                                                 ; +0x60, 0x4ed748\nB.NE            loc_4ED75C                                             ; +0x64, 0x4ed74c\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x68, 0x4ed750\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x6c, 0x4ed754\nRET                                                                    ; +0x70, 0x4ed758\nBL              .__stack_chk_fail                                      ; +0x74, 0x4ed75c", "xrefs": ["GameManager::tryCacheAd @ 0x5eaee8", "<???> @ 0x2cad8"], "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"}