{"type": "func", "start": 4617924, "end": 4618048, "name": "AccountHelpLayer::verifyUnlink", "pseudocode": "// \n// AccountHelpLayer::verifyUnlink from 0x4676c4 to 0x467740 (124 bytes)\n// \n// 1 xrefs:\n// > AccountHelpLayer::FLAlert_Clicked @ 0x467c50\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid AccountHelpLayer::verifyUnlink(AccountHelpLayer *a1)\n{\n  FLAlertLayer *v2; // r4\n  _BYTE v3[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584(\n    (int)v3,\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  v2 = FLAlertLayer::create(\n         (int)&a1->FLAlertLayerProtocol,\n         (int)\"Warning\",\n         (int)v3,\n         (int)\"Cancel\",\n         (int)\"DELETE\",\n         300.0);\n  sub_774008(v3);\n  v2->setTag(v2, 4);\n  ButtonSprite::updateBGImage(v2->m_button2, \"GJ_button_06.png\");\n  v2->show(v2);\n}", "assembly": "; \n; AccountHelpLayer::verifyUnlink from 0x4676c4 to 0x467740 (124 bytes)\n; \n; 1 xrefs:\n; > AccountHelpLayer::FLAlert_Clicked @ 0x467c50\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4676c4\nSUB             SP, SP, #0x18                                          ; +0x2, 0x4676c6\nLDR             R6, =(__stack_chk_guard_ptr - 0x4676D4)                ; +0x4, 0x4676c8\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x4676ca\nLDR             R1, =(aThisWillCrDele - 0x4676DA); \"This will <cr>delete</c> ALL <cl>save d\"... ; +0x8, 0x4676cc\nMOV             R4, R0                                                 ; +0xa, 0x4676ce\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4676d0\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x4676d2\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x4676d4\nADD             R1, PC; \"This will <cr>delete</c> ALL <cl>save d\"...   ; +0x12, 0x4676d6\nMOV             R0, R5; int                                            ; +0x14, 0x4676d8\nLDR             R3, [R6]                                               ; +0x16, 0x4676da\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x4676dc\nBL              sub_776584                                             ; +0x1a, 0x4676de\nLDR             R3, =(aDelete_0 - 0x4676F0); \"DELETE\"                  ; +0x1e, 0x4676e2\nADD.W           R0, R4, #0x1E4; int                                    ; +0x20, 0x4676e4\nLDR             R1, =(aWarning - 0x4676F6); \"Warning\"                  ; +0x24, 0x4676e8\nMOV             R2, R5; int                                            ; +0x26, 0x4676ea\nADD             R3, PC; \"DELETE\"                                       ; +0x28, 0x4676ec\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x4676ee\nLDR             R3, flt_467740                                         ; +0x2c, 0x4676f0\nADD             R1, PC; \"Warning\"                                      ; +0x2e, 0x4676f2\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x4676f4\nLDR             R3, =(aCancel - 0x4676FC); \"Cancel\"                    ; +0x32, 0x4676f6\nADD             R3, PC; \"Cancel\"                                       ; +0x34, 0x4676f8\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x4676fa\nMOV             R4, R0                                                 ; +0x3a, 0x4676fe\nMOV             R0, R5                                                 ; +0x3c, 0x467700\nBL              sub_774008                                             ; +0x3e, 0x467702\nLDR             R3, [R4]                                               ; +0x42, 0x467706\nMOV             R0, R4                                                 ; +0x44, 0x467708\nMOVS            R1, #4                                                 ; +0x46, 0x46770a\nLDR             R3, [R3,#0x24]                                         ; +0x48, 0x46770c\nBLX             R3                                                     ; +0x4a, 0x46770e\nLDR             R1, =(aGjButton06Png - 0x46771A); \"GJ_button_06.png\"   ; +0x4c, 0x467710\nLDR.W           R0, [R4,#0x1D8]; this                                  ; +0x4e, 0x467712\nADD             R1, PC; \"GJ_button_06.png\"                             ; +0x52, 0x467716\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x54, 0x467718\nLDR             R3, [R4]                                               ; +0x58, 0x46771c\nMOV             R0, R4                                                 ; +0x5a, 0x46771e\nLDR.W           R3, [R3,#0x284]                                        ; +0x5c, 0x467720\nBLX             R3                                                     ; +0x60, 0x467724\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x62, 0x467726\nLDR             R3, [R6]                                               ; +0x64, 0x467728\nCMP             R2, R3                                                 ; +0x66, 0x46772a\nBEQ             loc_46773C                                             ; +0x68, 0x46772c\nBLX             __stack_chk_fail                                       ; +0x6a, 0x46772e\nMOV             R0, R5                                                 ; +0x6e, 0x467732\nBL              sub_774008                                             ; +0x70, 0x467734\nBL              __cxa_end_cleanup                                      ; +0x74, 0x467738\nADD             SP, SP, #0x18                                          ; +0x78, 0x46773c\nPOP             {R4-R6,PC}                                             ; +0x7a, 0x46773e", "xrefs": ["AccountHelpLayer::FLAlert_Clicked @ 0x467c50"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}