{"type": "func", "start": 10013636, "end": 10013904, "name": "AccountHelpLayer::verifyUnlink", "pseudocode": "// \n// AccountHelpLayer::verifyUnlink from 0x98cbc4 to 0x98ccd0 (268 bytes)\n// \n// 2 xrefs:\n// > AccountHelpLayer::FLAlert_Clicked @ 0x98cd5c\n// > <???> @ 0x44620\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:57 +0000\n// \n\n__int64 __fastcall AccountHelpLayer::verifyUnlink(AccountHelpLayer *this)\n{\n  ButtonSprite **v2; // x19\n  _QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v5; // [xsp+30h] [xbp+30h]\n\n  v5 = (void *)operator new(0x70u);\n  v4[1] = 110;\n  v4[0] = 113;\n  *((_BYTE *)memcpy(\n               v5,\n               \"This will <cr>delete</c> ALL <cl>save data</c>.\\n\"\n               \"Do you want to continue?\\n\"\n               \"<cy>(You cannot undo this action)</c>\",\n               0x6Eu)\n  + 110) = 0;\n  v2 = (ButtonSprite **)FLAlertLayer::create(\n                          (__int64)this + 616,\n                          (cocos2d::CCLabelBMFont *)\"Warning\",\n                          (char *)v4,\n                          (ButtonSprite *)\"Cancel\",\n                          (ButtonSprite *)\"DELETE\",\n                          300.0);\n  if ( (v4[0] & 1) != 0 )\n    operator delete(v5);\n  (*((void (__fastcall **)(ButtonSprite **, __int64))*v2 + 9))(v2, 4);\n  ButtonSprite::updateBGImage(v2[77], \"GJ_button_06.png\");\n  (*((void (__fastcall **)(ButtonSprite **))*v2 + 164))(v2);\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountHelpLayer::verifyUnlink from 0x98cbc4 to 0x98ccd0 (268 bytes)\n; \n; 2 xrefs:\n; > AccountHelpLayer::FLAlert_Clicked @ 0x98cd5c\n; > <???> @ 0x44620\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:57 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x98cbc4\nMOV             X29, SP                                                ; +0x4, 0x98cbc8\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x98cbcc\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x98cbd0\nMOV             X19, X0                                                ; +0x10, 0x98cbd4\nMOV             X0, #0x70 ; 'p'; unsigned __int64                      ; +0x14, 0x98cbd8\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x18, 0x98cbdc\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x1c, 0x98cbe0\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x98cbe4\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x24, 0x98cbe8\nLDR             X1, [X1]                                               ; +0x28, 0x98cbec\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x98cbf0\nBL              _Znwm; operator new(ulong)                             ; +0x30, 0x98cbf4\nSTR             X0, [X29,#0x40+var_10]                                 ; +0x34, 0x98cbf8\nMOV             X4, #0x6E ; 'n'                                        ; +0x38, 0x98cbfc\nADRP            X1, #aThisWillCrDele@PAGE; \"This will <cr>delete</c> ALL <cl>save d\"... ; +0x3c, 0x98cc00\nMOV             X2, X4; size_t                                         ; +0x40, 0x98cc04\nADD             X1, X1, #aThisWillCrDele@PAGEOFF; \"This will <cr>delete</c> ALL <cl>save d\"... ; +0x44, 0x98cc08\nSTR             X4, [X29,#0x40+var_18]                                 ; +0x48, 0x98cc0c\nMOV             X4, #0x71 ; 'q'                                        ; +0x4c, 0x98cc10\nSTR             X4, [X29,#0x40+var_20]                                 ; +0x50, 0x98cc14\nBL              .memcpy                                                ; +0x54, 0x98cc18\nSTRB            WZR, [X0,#0x6E]                                        ; +0x58, 0x98cc1c\nLDR             S0, =0x43960000                                        ; +0x5c, 0x98cc20\nADRP            X1, #aWarning@PAGE; \"Warning\"                          ; +0x60, 0x98cc24\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0x64, 0x98cc28\nADRP            X4, #aDelete_2@PAGE; \"DELETE\"                          ; +0x68, 0x98cc2c\nADD             X0, X19, #0x268                                        ; +0x6c, 0x98cc30\nADD             X1, X1, #aWarning@PAGEOFF; \"Warning\"                   ; +0x70, 0x98cc34\nADD             X2, X29, #0x40+var_20                                  ; +0x74, 0x98cc38\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0x78, 0x98cc3c\nADD             X4, X4, #aDelete_2@PAGEOFF; \"DELETE\"                   ; +0x7c, 0x98cc40\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x80, 0x98cc44\nMOV             X19, X0                                                ; +0x84, 0x98cc48\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x88, 0x98cc4c\nTBZ             W0, #0, loc_98CC5C                                     ; +0x8c, 0x98cc50\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x90, 0x98cc54\nBL              _ZdlPv; operator delete(void *)                        ; +0x94, 0x98cc58\nLDR             X2, [X19]                                              ; +0x98, 0x98cc5c\nMOV             X0, X19                                                ; +0x9c, 0x98cc60\nMOV             W1, #4                                                 ; +0xa0, 0x98cc64\nLDR             X2, [X2,#0x48]                                         ; +0xa4, 0x98cc68\nBLR             X2                                                     ; +0xa8, 0x98cc6c\nLDR             X0, [X19,#0x268]; this                                 ; +0xac, 0x98cc70\nADRL            X1, aGjButton06Png; \"GJ_button_06.png\"                 ; +0xb0, 0x98cc74\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0xb8, 0x98cc7c\nLDR             X1, [X19]                                              ; +0xbc, 0x98cc80\nMOV             X0, X19                                                ; +0xc0, 0x98cc84\nLDR             X1, [X1,#0x520]                                        ; +0xc4, 0x98cc88\nBLR             X1                                                     ; +0xc8, 0x98cc8c\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xcc, 0x98cc90\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xd0, 0x98cc94\nLDR             X0, [X20]                                              ; +0xd4, 0x98cc98\nCMP             X1, X0                                                 ; +0xd8, 0x98cc9c\nB.NE            loc_98CCB0                                             ; +0xdc, 0x98cca0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xe0, 0x98cca4\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xe4, 0x98cca8\nRET                                                                    ; +0xe8, 0x98ccac\nBL              .__stack_chk_fail                                      ; +0xec, 0x98ccb0\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xf0, 0x98ccb4\nMOV             X19, X0                                                ; +0xf4, 0x98ccb8\nTBZ             W1, #0, loc_98CCC8                                     ; +0xf8, 0x98ccbc\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xfc, 0x98ccc0\nBL              _ZdlPv; operator delete(void *)                        ; +0x100, 0x98ccc4\nMOV             X0, X19                                                ; +0x104, 0x98ccc8\nBL              _Unwind_Resume                                         ; +0x108, 0x98cccc", "xrefs": ["AccountHelpLayer::FLAlert_Clicked @ 0x98cd5c", "<???> @ 0x44620"], "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"}