{"type": "func", "start": 5785184, "end": 5785316, "name": "AccountHelpLayer::verifyUnlink", "pseudocode": "// \n// AccountHelpLayer::verifyUnlink from 0x584660 to 0x5846e4 (132 bytes)\n// \n// 1 xrefs:\n// > AccountHelpLayer::FLAlert_Clicked @ 0x584730\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:57 +0000\n// \n\nint __fastcall AccountHelpLayer::verifyUnlink(AccountHelpLayer *this)\n{\n  char **v2; // r4\n  int v4[3]; // [sp+8h] [bp-10h] BYREF\n\n  memset(v4, 0, sizeof(v4));\n  std::string::__init(\n    v4,\n    \"This will <cr>delete</c> ALL <cl>save data</c>.\\nDo you want to continue?\\n<cy>(You cannot undo this action)</c>\",\n    0x6Eu);\n  v2 = (char **)FLAlertLayer::create(\n                  (int)this + 484,\n                  (cocos2d::CCLabelBMFont *)\"Warning\",\n                  (int)v4,\n                  (ButtonSprite *)\"Cancel\",\n                  (ButtonSprite *)\"DELETE\",\n                  300.0);\n  std::string::~string((int)v4);\n  (*((void (__fastcall **)(char **, int))*v2 + 9))(v2, 4);\n  ButtonSprite::updateBGImage(v2[121], \"GJ_button_06.png\");\n  return (*((int (__fastcall **)(char **))*v2 + 164))(v2);\n}", "assembly": "; \n; AccountHelpLayer::verifyUnlink from 0x584660 to 0x5846e4 (132 bytes)\n; \n; 1 xrefs:\n; > AccountHelpLayer::FLAlert_Clicked @ 0x584730\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:57 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x584660\nSUB             SP, SP, #0x18                                          ; +0x2, 0x584662\nLDR             R6, =(__stack_chk_guard_ptr - 0x584670)                ; +0x4, 0x584664\nADD             R5, SP, #0x18+var_10                                   ; +0x6, 0x584666\nLDR             R1, =(aThisWillCrDele - 0x584676); \"This will <cr>delete</c> ALL <cl>save d\"... ; +0x8, 0x584668\nMOV             R4, R0                                                 ; +0xa, 0x58466a\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x58466c\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x58466e\nMOV             R0, R5                                                 ; +0x10, 0x584670\nADD             R1, PC; \"This will <cr>delete</c> ALL <cl>save d\"...   ; +0x12, 0x584672\nMOVS            R2, #0x6E ; 'n'                                        ; +0x14, 0x584674\nLDR             R3, [R6]                                               ; +0x16, 0x584676\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x584678\nMOVS            R3, #0                                                 ; +0x1a, 0x58467a\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x1c, 0x58467c\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x1e, 0x58467e\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x20, 0x584680\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x22, 0x584682\nLDR             R3, =(aDelete_0 - 0x584694); \"DELETE\"                  ; +0x26, 0x584686\nADD.W           R0, R4, #0x1E4; int                                    ; +0x28, 0x584688\nLDR             R1, =(aWarning - 0x58469A); \"Warning\"                  ; +0x2c, 0x58468c\nMOV             R2, R5; int                                            ; +0x2e, 0x58468e\nADD             R3, PC; \"DELETE\"                                       ; +0x30, 0x584690\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x32, 0x584692\nLDR             R3, flt_5846E4                                         ; +0x34, 0x584694\nADD             R1, PC; \"Warning\"                                      ; +0x36, 0x584696\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x38, 0x584698\nLDR             R3, =(aCancel - 0x5846A0); \"Cancel\"                    ; +0x3a, 0x58469a\nADD             R3, PC; \"Cancel\"                                       ; +0x3c, 0x58469c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x3e, 0x58469e\nMOV             R4, R0                                                 ; +0x42, 0x5846a2\nMOV             R0, R5                                                 ; +0x44, 0x5846a4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x46, 0x5846a6\nLDR             R3, [R4]                                               ; +0x4a, 0x5846aa\nMOV             R0, R4                                                 ; +0x4c, 0x5846ac\nMOVS            R1, #4                                                 ; +0x4e, 0x5846ae\nLDR             R3, [R3,#0x24]                                         ; +0x50, 0x5846b0\nBLX             R3                                                     ; +0x52, 0x5846b2\nLDR             R1, =(aGjButton06Png - 0x5846BE); \"GJ_button_06.png\"   ; +0x54, 0x5846b4\nLDR.W           R0, [R4,#0x1E4]; this                                  ; +0x56, 0x5846b6\nADD             R1, PC; \"GJ_button_06.png\"                             ; +0x5a, 0x5846ba\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x5c, 0x5846bc\nLDR             R3, [R4]                                               ; +0x60, 0x5846c0\nMOV             R0, R4                                                 ; +0x62, 0x5846c2\nLDR.W           R3, [R3,#0x290]                                        ; +0x64, 0x5846c4\nBLX             R3                                                     ; +0x68, 0x5846c8\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x6a, 0x5846ca\nLDR             R3, [R6]                                               ; +0x6c, 0x5846cc\nCMP             R2, R3                                                 ; +0x6e, 0x5846ce\nBEQ             loc_5846E0                                             ; +0x70, 0x5846d0\nBLX             __stack_chk_fail                                       ; +0x72, 0x5846d2\nMOV             R0, R5                                                 ; +0x76, 0x5846d6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x78, 0x5846d8\nBL              __cxa_end_cleanup                                      ; +0x7c, 0x5846dc\nADD             SP, SP, #0x18                                          ; +0x80, 0x5846e0\nPOP             {R4-R6,PC}                                             ; +0x82, 0x5846e2", "xrefs": ["AccountHelpLayer::FLAlert_Clicked @ 0x584730"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}