{"type": "func", "start": 5166944, "end": 5167080, "name": "AdToolbox::hasCachedInterstitial", "pseudocode": "// \n// AdToolbox::hasCachedInterstitial from 0x4ed760 to 0x4ed7e8 (136 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x4b9c0\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::hasCachedInterstitial()\n{\n  int StaticMethodInfo; // w1\n  bool result; // w0\n  __int64 v2[3]; // [xsp+20h] [xbp+20h] BYREF\n\n  StaticMethodInfo = (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(\n                                        v2,\n                                        \"com/customRobTop/BaseRobTopActivity\",\n                                        \"hasCachedInterstitial\",\n                                        \"()Z\");\n  result = 0;\n  if ( StaticMethodInfo )\n    return (unsigned __int8)_JNIEnv::CallStaticBooleanMethod(v2[0], v2[1], v2[2]) != 0;\n  return result;\n}", "assembly": "; \n; AdToolbox::hasCachedInterstitial from 0x4ed760 to 0x4ed7e8 (136 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x4b9c0\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, 0x4ed760\nADRP            X1, #aComCustomrobto@PAGE; \"com/customRobTop/BaseRobTopActivity\" ; +0x4, 0x4ed764\nADRP            X2, #aHascachedinter@PAGE; \"hasCachedInterstitial\"     ; +0x8, 0x4ed768\nMOV             X29, SP                                                ; +0xc, 0x4ed76c\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x10, 0x4ed770\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x4ed774\nADRP            X3, #aZ@PAGE; \"()Z\"                                    ; +0x18, 0x4ed778\nADD             X1, X1, #aComCustomrobto@PAGEOFF; \"com/customRobTop/BaseRobTopActivity\" ; +0x1c, 0x4ed77c\nADD             X0, X29, #0x40+var_20                                  ; +0x20, 0x4ed780\nADD             X2, X2, #aHascachedinter@PAGEOFF; \"hasCachedInterstitial\" ; +0x24, 0x4ed784\nLDR             X4, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x4ed788\nADD             X3, X3, #aZ@PAGEOFF; \"()Z\"                             ; +0x2c, 0x4ed78c\nLDR             X4, [X4]                                               ; +0x30, 0x4ed790\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x34, 0x4ed794\nBL              _ZN7cocos2d9JniHelper19getStaticMethodInfoERNS_14JniMethodInfo_EPKcS4_S4_; cocos2d::JniHelper::getStaticMethodInfo(cocos2d::JniMethodInfo_ &,char const*,char const*,char const*) ; +0x38, 0x4ed798\nUXTB            W1, W0                                                 ; +0x3c, 0x4ed79c\nMOV             W0, #0                                                 ; +0x40, 0x4ed7a0\nCBZ             W1, loc_4ED7C4                                         ; +0x44, 0x4ed7a4\nLDR             X0, [X29,#0x40+var_20]                                 ; +0x48, 0x4ed7a8\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x4c, 0x4ed7ac\nLDR             X2, [X29,#0x40+var_10]                                 ; +0x50, 0x4ed7b0\nBL              _ZN7_JNIEnv23CallStaticBooleanMethodEP7_jclassP10_jmethodIDz; _JNIEnv::CallStaticBooleanMethod(_jclass *,_jmethodID *,...) ; +0x54, 0x4ed7b4\nUXTB            W0, W0                                                 ; +0x58, 0x4ed7b8\nCMP             W0, WZR                                                ; +0x5c, 0x4ed7bc\nCSET            W0, NE                                                 ; +0x60, 0x4ed7c0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x64, 0x4ed7c4\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x68, 0x4ed7c8\nLDR             X1, [X19]                                              ; +0x6c, 0x4ed7cc\nCMP             X2, X1                                                 ; +0x70, 0x4ed7d0\nB.NE            loc_4ED7E4                                             ; +0x74, 0x4ed7d4\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x78, 0x4ed7d8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x7c, 0x4ed7dc\nRET                                                                    ; +0x80, 0x4ed7e0\nBL              .__stack_chk_fail                                      ; +0x84, 0x4ed7e4", "xrefs": ["<???> @ 0x4b9c0"], "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"}