{"type": "func", "start": 10011532, "end": 10011804, "name": "AccountHelpLayer::onAccountManagement", "pseudocode": "// \n// AccountHelpLayer::onAccountManagement from 0x98c38c to 0x98c49c (272 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x667c0\n// > AccountHelpLayer::customSetup @ 0x98ea0c\n// > <???> @ 0x15427a8\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 AccountHelpLayer::onAccountManagement(AccountHelpLayer *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(0x30u);\n  v5[1] = 33;\n  v5[0] = 49;\n  strcpy((char *)v6, \"Open the account management page?\");\n  v3 = FLAlertLayer::create(\n         (__int64)this + 616,\n         (cocos2d::CCLabelBMFont *)\"Manage\",\n         (char *)v5,\n         (ButtonSprite *)\"Cancel\",\n         (ButtonSprite *)\"Yes\",\n         360.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; AccountHelpLayer::onAccountManagement from 0x98c38c to 0x98c49c (272 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x667c0\n; > AccountHelpLayer::customSetup @ 0x98ea0c\n; > <???> @ 0x15427a8\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, 0x98c38c\nMOV             X29, SP                                                ; +0x4, 0x98c390\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x98c394\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x98c398\nMOV             X20, X0                                                ; +0x10, 0x98c39c\nMOV             X0, #0x30 ; '0'; unsigned __int64                      ; +0x14, 0x98c3a0\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x18, 0x98c3a4\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x1c, 0x98c3a8\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x98c3ac\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x24, 0x98c3b0\nLDR             X1, [X1]                                               ; +0x28, 0x98c3b4\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x98c3b8\nBL              _Znwm; operator new(ulong)                             ; +0x30, 0x98c3bc\nMOV             X5, X0                                                 ; +0x34, 0x98c3c0\nADRP            X1, #aOpenTheAccount_0@PAGE; \"Open the account management page?\" ; +0x38, 0x98c3c4\nSTR             X5, [X29,#0x40+var_10]                                 ; +0x3c, 0x98c3c8\nADD             X1, X1, #aOpenTheAccount_0@PAGEOFF; \"Open the account management page?\" ; +0x40, 0x98c3cc\nMOV             X2, #0x21 ; '!'                                        ; +0x44, 0x98c3d0\nLDR             S0, =0x43B40000                                        ; +0x48, 0x98c3d4\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x4c, 0x98c3d8\nADRP            X4, #aYes@PAGE; \"Yes\"                                  ; +0x50, 0x98c3dc\nADD             X0, X20, #0x268                                        ; +0x54, 0x98c3e0\nLDRB            W3, [X1,#(aOpenTheAccount_0+0x20 - 0x116ADB0)]; \"?\"    ; +0x58, 0x98c3e4\nADD             X2, X29, #0x40+var_20                                  ; +0x5c, 0x98c3e8\nLDP             X8, X9, [X1]; \"Open the account management page?\"      ; +0x60, 0x98c3ec\nLDP             X6, X7, [X1,#(aOpenTheAccount_0+0x10 - 0x116ADB0)]; \" management page?\" ; +0x64, 0x98c3f0\nMOV             X1, #0x31 ; '1'                                        ; +0x68, 0x98c3f4\nSTRB            W3, [X5,#0x20]                                         ; +0x6c, 0x98c3f8\nSTR             X1, [X29,#0x40+var_20]                                 ; +0x70, 0x98c3fc\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0x74, 0x98c400\nADRP            X1, #aManage@PAGE; \"Manage\"                            ; +0x78, 0x98c404\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0x7c, 0x98c408\nADD             X1, X1, #aManage@PAGEOFF; \"Manage\"                     ; +0x80, 0x98c40c\nSTRB            WZR, [X5,#0x21]                                        ; +0x84, 0x98c410\nADD             X4, X4, #aYes@PAGEOFF; \"Yes\"                           ; +0x88, 0x98c414\nSTP             X8, X9, [X5]                                           ; +0x8c, 0x98c418\nSTP             X6, X7, [X5,#0x10]                                     ; +0x90, 0x98c41c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x94, 0x98c420\nMOV             X20, X0                                                ; +0x98, 0x98c424\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x9c, 0x98c428\nTBZ             W0, #0, loc_98C438                                     ; +0xa0, 0x98c42c\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xa4, 0x98c430\nBL              _ZdlPv; operator delete(void *)                        ; +0xa8, 0x98c434\nLDR             X2, [X20]                                              ; +0xac, 0x98c438\nMOV             X0, X20                                                ; +0xb0, 0x98c43c\nMOV             W1, #5                                                 ; +0xb4, 0x98c440\nLDR             X2, [X2,#0x48]                                         ; +0xb8, 0x98c444\nBLR             X2                                                     ; +0xbc, 0x98c448\nLDR             X1, [X20]                                              ; +0xc0, 0x98c44c\nMOV             X0, X20                                                ; +0xc4, 0x98c450\nLDR             X1, [X1,#0x520]                                        ; +0xc8, 0x98c454\nBLR             X1                                                     ; +0xcc, 0x98c458\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xd0, 0x98c45c\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xd4, 0x98c460\nLDR             X0, [X19]                                              ; +0xd8, 0x98c464\nCMP             X1, X0                                                 ; +0xdc, 0x98c468\nB.NE            loc_98C47C                                             ; +0xe0, 0x98c46c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xe4, 0x98c470\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xe8, 0x98c474\nRET                                                                    ; +0xec, 0x98c478\nBL              .__stack_chk_fail                                      ; +0xf0, 0x98c47c\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xf4, 0x98c480\nMOV             X19, X0                                                ; +0xf8, 0x98c484\nTBZ             W1, #0, loc_98C494                                     ; +0xfc, 0x98c488\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x100, 0x98c48c\nBL              _ZdlPv; operator delete(void *)                        ; +0x104, 0x98c490\nMOV             X0, X19                                                ; +0x108, 0x98c494\nBL              _Unwind_Resume                                         ; +0x10c, 0x98c498", "xrefs": ["<???> @ 0x667c0", "AccountHelpLayer::customSetup @ 0x98ea0c", "<???> @ 0x15427a8"], "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"}