{"type": "func", "start": 10011248, "end": 10011528, "name": "AccountLayer::onHelp", "pseudocode": "// \n// AccountLayer::onHelp from 0x98c270 to 0x98c388 (280 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xd1bc0\n// > AccountLayer::customSetup @ 0x98df3c\n// > <???> @ 0x1546368\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:57:56 +0000\n// \n\n__int64 __fastcall AccountLayer::onHelp(AccountLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x20\n  _QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v6; // [xsp+30h] [xbp+30h]\n\n  v6 = (void *)operator new(0x20u);\n  v5[1] = 27;\n  v5[0] = 33;\n  strcpy((char *)v6, \"Open the account help page?\");\n  v3 = FLAlertLayer::create(\n         (__int64)this + 632,\n         (cocos2d::CCLabelBMFont *)\"Help\",\n         (char *)v5,\n         (ButtonSprite *)\"Cancel\",\n         (ButtonSprite *)\"Yes\",\n         300.0);\n  if ( (v5[0] & 1) != 0 )\n    operator delete(v6);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 5);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountLayer::onHelp from 0x98c270 to 0x98c388 (280 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xd1bc0\n; > AccountLayer::customSetup @ 0x98df3c\n; > <???> @ 0x1546368\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:57:56 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x98c270\nMOV             X29, SP                                                ; +0x4, 0x98c274\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x98c278\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x98c27c\nMOV             X20, X0                                                ; +0x10, 0x98c280\nMOV             X0, #0x20 ; ' '; unsigned __int64                      ; +0x14, 0x98c284\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x18, 0x98c288\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x1c, 0x98c28c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x98c290\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x24, 0x98c294\nLDR             X1, [X1]                                               ; +0x28, 0x98c298\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x98c29c\nBL              _Znwm; operator new(ulong)                             ; +0x30, 0x98c2a0\nMOV             X5, X0                                                 ; +0x34, 0x98c2a4\nADRP            X1, #aOpenTheAccount@PAGE; \"Open the account help page?\" ; +0x38, 0x98c2a8\nSTR             X0, [X29,#0x40+var_10]                                 ; +0x3c, 0x98c2ac\nADD             X1, X1, #aOpenTheAccount@PAGEOFF; \"Open the account help page?\" ; +0x40, 0x98c2b0\nMOV             X3, #0x1B                                              ; +0x44, 0x98c2b4\nLDR             S0, =0x43960000                                        ; +0x48, 0x98c2b8\nMOV             X2, #0x21 ; '!'                                        ; +0x4c, 0x98c2bc\nSTR             X3, [X29,#0x40+var_18]                                 ; +0x50, 0x98c2c0\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0x54, 0x98c2c4\nLDR             X4, [X1,#(aOpenTheAccount+0x10 - 0x116AD90)]; \" help page?\" ; +0x58, 0x98c2c8\nADD             X0, X20, #0x278                                        ; +0x5c, 0x98c2cc\nLDP             X6, X7, [X1]; \"Open the account help page?\"            ; +0x60, 0x98c2d0\nLDRH            W9, [X1,#(aOpenTheAccount+0x18 - 0x116AD90)]; \"ge?\"    ; +0x64, 0x98c2d4\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0x68, 0x98c2d8\nLDRB            W8, [X1,#(aOpenTheAccount+0x1A - 0x116AD90)]; \"?\"      ; +0x6c, 0x98c2dc\nADRP            X1, #(aAccountHelp+8)@PAGE; \"Help\"                     ; +0x70, 0x98c2e0\nSTR             X2, [X29,#0x40+var_20]                                 ; +0x74, 0x98c2e4\nADD             X1, X1, #(aAccountHelp+8)@PAGEOFF; \"Help\"              ; +0x78, 0x98c2e8\nSTR             X4, [X5,#0x10]                                         ; +0x7c, 0x98c2ec\nADRP            X4, #aYes@PAGE; \"Yes\"                                  ; +0x80, 0x98c2f0\nADD             X2, X29, #0x40+var_20                                  ; +0x84, 0x98c2f4\nADD             X4, X4, #aYes@PAGEOFF; \"Yes\"                           ; +0x88, 0x98c2f8\nSTRH            W9, [X5,#0x18]                                         ; +0x8c, 0x98c2fc\nSTRB            W8, [X5,#0x1A]                                         ; +0x90, 0x98c300\nSTRB            WZR, [X5,#0x1B]                                        ; +0x94, 0x98c304\nSTP             X6, X7, [X5]                                           ; +0x98, 0x98c308\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x9c, 0x98c30c\nMOV             X20, X0                                                ; +0xa0, 0x98c310\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0xa4, 0x98c314\nTBZ             W0, #0, loc_98C324                                     ; +0xa8, 0x98c318\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xac, 0x98c31c\nBL              _ZdlPv; operator delete(void *)                        ; +0xb0, 0x98c320\nLDR             X2, [X20]                                              ; +0xb4, 0x98c324\nMOV             X0, X20                                                ; +0xb8, 0x98c328\nMOV             W1, #5                                                 ; +0xbc, 0x98c32c\nLDR             X2, [X2,#0x48]                                         ; +0xc0, 0x98c330\nBLR             X2                                                     ; +0xc4, 0x98c334\nLDR             X1, [X20]                                              ; +0xc8, 0x98c338\nMOV             X0, X20                                                ; +0xcc, 0x98c33c\nLDR             X1, [X1,#0x520]                                        ; +0xd0, 0x98c340\nBLR             X1                                                     ; +0xd4, 0x98c344\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xd8, 0x98c348\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xdc, 0x98c34c\nLDR             X0, [X19]                                              ; +0xe0, 0x98c350\nCMP             X1, X0                                                 ; +0xe4, 0x98c354\nB.NE            loc_98C368                                             ; +0xe8, 0x98c358\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xec, 0x98c35c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xf0, 0x98c360\nRET                                                                    ; +0xf4, 0x98c364\nBL              .__stack_chk_fail                                      ; +0xf8, 0x98c368\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xfc, 0x98c36c\nMOV             X19, X0                                                ; +0x100, 0x98c370\nTBZ             W1, #0, loc_98C380                                     ; +0x104, 0x98c374\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x108, 0x98c378\nBL              _ZdlPv; operator delete(void *)                        ; +0x10c, 0x98c37c\nMOV             X0, X19                                                ; +0x110, 0x98c380\nBL              _Unwind_Resume                                         ; +0x114, 0x98c384", "xrefs": ["<???> @ 0xd1bc0", "AccountLayer::customSetup @ 0x98df3c", "<???> @ 0x1546368"], "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"}