{"type": "func", "start": 9135776, "end": 9136080, "name": "EditorPauseLayer::onHelp", "pseudocode": "// \n// EditorPauseLayer::onHelp from 0x8b66a0 to 0x8b67d0 (304 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xf52c0\n// > EditorPauseLayer::customSetup @ 0x8b5ab0\n// > <???> @ 0x15476e0\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:56:25 +0000\n// \n\n__int64 __fastcall EditorPauseLayer::onHelp(EditorPauseLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v4; // x20\n  _QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v6; // [xsp+30h] [xbp+30h]\n\n  if ( !*((_BYTE *)this + 568) )\n  {\n    v6 = (void *)operator new(0x30u);\n    v5[1] = 46;\n    v5[0] = 49;\n    strcpy((char *)v6, \"Open the <cy>Editor Guide</c> in your browser?\");\n    v4 = FLAlertLayer::create(\n           (__int64)this + 552,\n           (cocos2d::CCLabelBMFont *)\"Editor Guide\",\n           (char *)v5,\n           (ButtonSprite *)\"NO\",\n           (ButtonSprite *)\"YES\",\n           300.0);\n    if ( (v5[0] & 1) != 0 )\n      operator delete(v6);\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorPauseLayer::onHelp from 0x8b66a0 to 0x8b67d0 (304 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xf52c0\n; > EditorPauseLayer::customSetup @ 0x8b5ab0\n; > <???> @ 0x15476e0\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:56:25 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x8b66a0\nMOV             X29, SP                                                ; +0x4, 0x8b66a4\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x8b66a8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x8b66ac\nMOV             X20, X0                                                ; +0x10, 0x8b66b0\nLDRB            W0, [X0,#0x238]                                        ; +0x14, 0x8b66b4\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x8b66b8\nLDR             X1, [X1]                                               ; +0x1c, 0x8b66bc\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x20, 0x8b66c0\nCBZ             W0, loc_8B66E8                                         ; +0x24, 0x8b66c4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x8b66c8\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x8b66cc\nLDR             X0, [X19]                                              ; +0x30, 0x8b66d0\nCMP             X1, X0                                                 ; +0x34, 0x8b66d4\nB.NE            loc_8B67B0                                             ; +0x38, 0x8b66d8\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x3c, 0x8b66dc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x40, 0x8b66e0\nRET                                                                    ; +0x44, 0x8b66e4\nMOV             X0, #0x30 ; '0'; unsigned __int64                      ; +0x48, 0x8b66e8\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x4c, 0x8b66ec\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x50, 0x8b66f0\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x54, 0x8b66f4\nBL              _Znwm; operator new(ulong)                             ; +0x58, 0x8b66f8\nADRP            X1, #aOpenTheCyEdito@PAGE; \"Open the <cy>Editor Guide</c> in your b\"... ; +0x5c, 0x8b66fc\nMOV             X5, X0                                                 ; +0x60, 0x8b6700\nADD             X1, X1, #aOpenTheCyEdito@PAGEOFF; \"Open the <cy>Editor Guide</c> in your b\"... ; +0x64, 0x8b6704\nSTR             X5, [X29,#0x40+var_10]                                 ; +0x68, 0x8b6708\nLDR             S0, =0x43960000                                        ; +0x6c, 0x8b670c\nMOV             X2, #0x2E ; '.'                                        ; +0x70, 0x8b6710\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x74, 0x8b6714\nADD             X0, X20, #0x228                                        ; +0x78, 0x8b6718\nLDR             X3, [X1,#(aOpenTheCyEdito+0x20 - 0x114C5A0)]; \" your browser?\" ; +0x7c, 0x8b671c\nADD             X2, X29, #0x40+var_20                                  ; +0x80, 0x8b6720\nLDR             W4, [X1,#(aOpenTheCyEdito+0x28 - 0x114C5A0)]; \"owser?\" ; +0x84, 0x8b6724\nLDP             X8, X9, [X1]; \"Open the <cy>Editor Guide</c> in your b\"... ; +0x88, 0x8b6728\nLDP             X6, X7, [X1,#(aOpenTheCyEdito+0x10 - 0x114C5A0)]; \"tor Guide</c> in your browser?\" ; +0x8c, 0x8b672c\nLDRH            W10, [X1,#(aOpenTheCyEdito+0x2C - 0x114C5A0)]; \"r?\"    ; +0x90, 0x8b6730\nMOV             X1, #0x31 ; '1'                                        ; +0x94, 0x8b6734\nSTR             X3, [X5,#0x20]                                         ; +0x98, 0x8b6738\nADRP            X3, #aNo_0@PAGE; \"NO\"                                  ; +0x9c, 0x8b673c\nSTR             X1, [X29,#0x40+var_20]                                 ; +0xa0, 0x8b6740\nADRP            X1, #aEditorGuide@PAGE; \"Editor Guide\"                 ; +0xa4, 0x8b6744\nSTR             W4, [X5,#0x28]                                         ; +0xa8, 0x8b6748\nADRP            X4, #aYes_0@PAGE; \"YES\"                                ; +0xac, 0x8b674c\nADD             X1, X1, #aEditorGuide@PAGEOFF; \"Editor Guide\"          ; +0xb0, 0x8b6750\nADD             X3, X3, #aNo_0@PAGEOFF; \"NO\"                           ; +0xb4, 0x8b6754\nADD             X4, X4, #aYes_0@PAGEOFF; \"YES\"                         ; +0xb8, 0x8b6758\nSTRH            W10, [X5,#0x2C]                                        ; +0xbc, 0x8b675c\nSTRB            WZR, [X5,#0x2E]                                        ; +0xc0, 0x8b6760\nSTP             X8, X9, [X5]                                           ; +0xc4, 0x8b6764\nSTP             X6, X7, [X5,#0x10]                                     ; +0xc8, 0x8b6768\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0xcc, 0x8b676c\nMOV             X20, X0                                                ; +0xd0, 0x8b6770\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0xd4, 0x8b6774\nTBNZ            W0, #0, loc_8B67A4                                     ; +0xd8, 0x8b6778\nLDR             X2, [X20]                                              ; +0xdc, 0x8b677c\nMOV             X0, X20                                                ; +0xe0, 0x8b6780\nMOV             W1, #4                                                 ; +0xe4, 0x8b6784\nLDR             X2, [X2,#0x48]                                         ; +0xe8, 0x8b6788\nBLR             X2                                                     ; +0xec, 0x8b678c\nLDR             X1, [X20]                                              ; +0xf0, 0x8b6790\nMOV             X0, X20                                                ; +0xf4, 0x8b6794\nLDR             X1, [X1,#0x520]                                        ; +0xf8, 0x8b6798\nBLR             X1                                                     ; +0xfc, 0x8b679c\nB               loc_8B66C8                                             ; +0x100, 0x8b67a0\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x104, 0x8b67a4\nBL              _ZdlPv; operator delete(void *)                        ; +0x108, 0x8b67a8\nB               loc_8B677C                                             ; +0x10c, 0x8b67ac\nBL              .__stack_chk_fail                                      ; +0x110, 0x8b67b0\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0x114, 0x8b67b4\nMOV             X19, X0                                                ; +0x118, 0x8b67b8\nTBZ             W1, #0, loc_8B67C8                                     ; +0x11c, 0x8b67bc\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x120, 0x8b67c0\nBL              _ZdlPv; operator delete(void *)                        ; +0x124, 0x8b67c4\nMOV             X0, X19                                                ; +0x128, 0x8b67c8\nBL              _Unwind_Resume                                         ; +0x12c, 0x8b67cc", "xrefs": ["<???> @ 0xf52c0", "EditorPauseLayer::customSetup @ 0x8b5ab0", "<???> @ 0x15476e0"], "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"}