{"type": "func", "start": 5369321184, "end": 5369321745, "name": "AccountHelpLayer::FLAlert_Clicked", "pseudocode": "// \n// AccountHelpLayer::FLAlert_Clicked from 0x1400956e0 to 0x140095911 (561 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140718648\n// > <???> @ 0x140912c50\n// > <???> @ 0x140912c5c\n// \n// This function is hookable on this platform (idp: pc, 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 11:26:02 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall AccountHelpLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 result; // rax\n  __int64 v6; // rcx\n  __int64 v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rax\n  __int64 *v10; // rbx\n  __int128 v11; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v12; // [rsp+60h] [rbp-38h]\n  __int64 v13; // [rsp+68h] [rbp-30h]\n  _BYTE v14[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  result = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) - 3;\n  if ( (_DWORD)result )\n  {\n    result = (unsigned int)(result - 1);\n    if ( (_DWORD)result )\n    {\n      if ( (_DWORD)result == 1 )\n      {\n        if ( a3 )\n        {\n          v7 = cocos2d::CCApplication::sharedApplication();\n          return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 96LL))(\n                   v7,\n                   \"https://www.boomlings.com/database/accounts/accountManagement.php\");\n        }\n      }\n    }\n    else if ( a3 )\n    {\n      v8 = GJAccountManager::sharedState(v6);\n      GJAccountManager::unlinkFromAccount(v8);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 616) + 992LL))(a1 - 616, 0);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 - 616) + 1120LL))(a1 - 616);\n      return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 616) + 1088LL))(\n               a1 - 616,\n               *(unsigned __int8 *)(a1 - 616 + 600));\n    }\n  }\n  else if ( a3 )\n  {\n    if ( a1 == 616 )\n      LODWORD(a1) = 0;\n    v11 = 0;\n    *(_QWORD *)&v11 = sub_14003D460(0x70u);\n    v12 = 110;\n    v13 = 111;\n    strcpy(\n      (char *)v11,\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    v9 = sub_14003F4F0((__int64)v14, (__int64)&v11);\n    v10 = (__int64 *)FLAlertLayer::create(\n                       a1,\n                       (int)\"Warning\",\n                       v9,\n                       (__int64)\"Cancel\",\n                       (__int64)\"DELETE\",\n                       1133903872,\n                       0,\n                       0,\n                       1065353216);\n    sub_14003D310((__int64)&v11);\n    (*(void (__fastcall **)(__int64 *, __int64))(*v10 + 64))(v10, 4);\n    ButtonSprite::updateBGImage(v10[77], \"GJ_button_06.png\");\n    return (*(__int64 (__fastcall **)(__int64 *))(*v10 + 1064))(v10);\n  }\n  return result;\n}", "assembly": "; \n; AccountHelpLayer::FLAlert_Clicked from 0x1400956e0 to 0x140095911 (561 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140718648\n; > <???> @ 0x140912c50\n; > <???> @ 0x140912c5c\n; \n; This function is hookable on this platform (idp: pc, 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 11:26:02 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400956e0\npush    rdi                                                            ; +0x5, 0x1400956e5\nsub     rsp, 90h                                                       ; +0x6, 0x1400956e6\nmovzx   ebx, r8b                                                       ; +0xd, 0x1400956ed\nmov     rdi, rcx                                                       ; +0x11, 0x1400956f1\nmov     rax, [rdx]                                                     ; +0x14, 0x1400956f4\nmov     rcx, rdx                                                       ; +0x17, 0x1400956f7\ncall    qword ptr [rax+38h]                                            ; +0x1a, 0x1400956fa\nsub     eax, 3                                                         ; +0x1d, 0x1400956fd\njz      loc_1400957A0                                                  ; +0x20, 0x140095700\nsub     eax, 1                                                         ; +0x26, 0x140095706\njz      short loc_140095746                                            ; +0x29, 0x140095709\ncmp     eax, 1                                                         ; +0x2b, 0x14009570b\njnz     loc_140095900                                                  ; +0x2e, 0x14009570e\ntest    bl, bl                                                         ; +0x34, 0x140095714\njz      loc_140095900                                                  ; +0x36, 0x140095716\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x3c, 0x14009571c\nmov     rcx, [rax]                                                     ; +0x42, 0x140095722\nmov     r8, [rcx+60h]                                                  ; +0x45, 0x140095725\nlea     rdx, aHttpsWwwBoomli_1; \"https://www.boomlings.com/database/acco\"... ; +0x49, 0x140095729\nmov     rcx, rax                                                       ; +0x50, 0x140095730\nmov     rbx, [rsp+98h+arg_0]                                           ; +0x53, 0x140095733\nadd     rsp, 90h                                                       ; +0x5b, 0x14009573b\npop     rdi                                                            ; +0x62, 0x140095742\njmp     r8                                                             ; +0x63, 0x140095743\ntest    bl, bl                                                         ; +0x66, 0x140095746\njz      loc_140095900                                                  ; +0x68, 0x140095748\nlea     rbx, [rdi-268h]                                                ; +0x6e, 0x14009574e\ncall    GJAccountManager__sharedState                                  ; +0x75, 0x140095755\nmov     rcx, rax                                                       ; +0x7a, 0x14009575a\ncall    GJAccountManager__unlinkFromAccount                            ; +0x7d, 0x14009575d\nmov     rax, [rbx]                                                     ; +0x82, 0x140095762\nxor     edx, edx                                                       ; +0x85, 0x140095765\nmov     rcx, rbx                                                       ; +0x87, 0x140095767\ncall    qword ptr [rax+3E0h]                                           ; +0x8a, 0x14009576a\nmov     rax, [rbx]                                                     ; +0x90, 0x140095770\nmov     rcx, rbx                                                       ; +0x93, 0x140095773\ncall    qword ptr [rax+460h]                                           ; +0x96, 0x140095776\nmov     rax, [rbx]                                                     ; +0x9c, 0x14009577c\nmovzx   edx, byte ptr [rbx+258h]                                       ; +0x9f, 0x14009577f\nmov     rcx, rbx                                                       ; +0xa6, 0x140095786\nmov     rbx, [rsp+98h+arg_0]                                           ; +0xa9, 0x140095789\nadd     rsp, 90h                                                       ; +0xb1, 0x140095791\npop     rdi                                                            ; +0xb8, 0x140095798\njmp     qword ptr [rax+440h]                                           ; +0xb9, 0x140095799\ntest    bl, bl                                                         ; +0xc0, 0x1400957a0\njz      loc_140095900                                                  ; +0xc2, 0x1400957a2\nlea     rax, [rdi-268h]                                                ; +0xc8, 0x1400957a8\nxor     ecx, ecx                                                       ; +0xcf, 0x1400957af\ntest    rax, rax                                                       ; +0xd1, 0x1400957b1\ncmovz   rdi, rcx                                                       ; +0xd4, 0x1400957b4\nxorps   xmm0, xmm0                                                     ; +0xd8, 0x1400957b8\nmovups  [rsp+98h+var_48], xmm0                                         ; +0xdb, 0x1400957bb\nmov     [rsp+98h+var_38], rcx                                          ; +0xe0, 0x1400957c0\nmov     [rsp+98h+var_30], rcx                                          ; +0xe5, 0x1400957c5\nmov     ecx, 70h ; 'p'                                                 ; +0xea, 0x1400957ca\ncall    sub_14003D460                                                  ; +0xef, 0x1400957cf\nmov     rcx, rax                                                       ; +0xf4, 0x1400957d4\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0xf7, 0x1400957d7\nmov     [rsp+98h+var_38], 6Eh ; 'n'                                    ; +0xfc, 0x1400957dc\nmov     [rsp+98h+var_30], 6Fh ; 'o'                                    ; +0x105, 0x1400957e5\nmovaps  xmm0, cs:xmmword_1407180D0                                     ; +0x10e, 0x1400957ee\nmovups  xmmword ptr [rax], xmm0                                        ; +0x115, 0x1400957f5\nmovaps  xmm1, cs:xmmword_1407180E0                                     ; +0x118, 0x1400957f8\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x11f, 0x1400957ff\nmovaps  xmm0, cs:xmmword_1407180F0                                     ; +0x123, 0x140095803\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x12a, 0x14009580a\nmovaps  xmm1, cs:xmmword_140718100                                     ; +0x12e, 0x14009580e\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x135, 0x140095815\nmovaps  xmm0, cs:xmmword_140718110                                     ; +0x139, 0x140095819\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x140, 0x140095820\nmovaps  xmm1, cs:xmmword_140718120                                     ; +0x144, 0x140095824\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x14b, 0x14009582b\nmovsd   xmm0, cs:qword_140718130                                       ; +0x14f, 0x14009582f\nmovsd   qword ptr [rax+60h], xmm0                                      ; +0x157, 0x140095837\nmov     eax, cs:dword_140718138                                        ; +0x15c, 0x14009583c\nmov     [rcx+68h], eax                                                 ; +0x162, 0x140095842\nmovzx   eax, cs:word_14071813C                                         ; +0x165, 0x140095845\nmov     [rcx+6Ch], ax                                                  ; +0x16c, 0x14009584c\nmov     byte ptr [rcx+6Eh], 0                                          ; +0x170, 0x140095850\nlea     rax, [rsp+98h+var_48]                                          ; +0x174, 0x140095854\nmov     [rsp+98h+arg_8], rax                                           ; +0x179, 0x140095859\nlea     rdx, [rsp+98h+var_48]                                          ; +0x181, 0x140095861\nlea     rcx, [rsp+98h+var_28]                                          ; +0x186, 0x140095866\ncall    sub_14003F4F0                                                  ; +0x18b, 0x14009586b\nmovss   xmm0, cs:flt_140835080                                         ; +0x190, 0x140095870\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x198, 0x140095878\nxorps   xmm1, xmm1                                                     ; +0x19e, 0x14009587e\nmovss   [rsp+98h+var_60], xmm1                                         ; +0x1a1, 0x140095881\nmov     [rsp+98h+var_68], 0                                            ; +0x1a7, 0x140095887\nmovss   xmm0, cs:dword_1408359A4                                       ; +0x1ac, 0x14009588c\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x1b4, 0x140095894\nlea     rcx, aDelete; \"DELETE\"                                         ; +0x1ba, 0x14009589a\nmov     [rsp+98h+var_78], rcx                                          ; +0x1c1, 0x1400958a1\nlea     r9, aCancel; \"Cancel\"                                          ; +0x1c6, 0x1400958a6\nmov     r8, rax                                                        ; +0x1cd, 0x1400958ad\nlea     rdx, aWarning; \"Warning\"                                       ; +0x1d0, 0x1400958b0\nmov     rcx, rdi                                                       ; +0x1d7, 0x1400958b7\ncall    FLAlertLayer__create                                           ; +0x1da, 0x1400958ba\nmov     rbx, rax                                                       ; +0x1df, 0x1400958bf\nlea     rcx, [rsp+98h+var_48]                                          ; +0x1e2, 0x1400958c2\ncall    sub_14003D310                                                  ; +0x1e7, 0x1400958c7\nmov     rcx, [rbx]                                                     ; +0x1ec, 0x1400958cc\nmov     r8, [rcx+40h]                                                  ; +0x1ef, 0x1400958cf\nmov     edx, 4                                                         ; +0x1f3, 0x1400958d3\nmov     rcx, rbx                                                       ; +0x1f8, 0x1400958d8\ncall    r8                                                             ; +0x1fb, 0x1400958db\nlea     rdx, aGjButton06Png; \"GJ_button_06.png\"                        ; +0x1fe, 0x1400958de\nmov     rcx, [rbx+268h]                                                ; +0x205, 0x1400958e5\ncall    ButtonSprite__updateBGImage                                    ; +0x20c, 0x1400958ec\nmov     rcx, [rbx]                                                     ; +0x211, 0x1400958f1\nmov     rdx, [rcx+428h]                                                ; +0x214, 0x1400958f4\nmov     rcx, rbx                                                       ; +0x21b, 0x1400958fb\ncall    rdx                                                            ; +0x21e, 0x1400958fe\nmov     rbx, [rsp+98h+arg_0]                                           ; +0x220, 0x140095900\nadd     rsp, 90h                                                       ; +0x228, 0x140095908\npop     rdi                                                            ; +0x22f, 0x14009590f\nretn                                                                   ; +0x230, 0x140095910", "xrefs": ["<???> @ 0x140718648", "<???> @ 0x140912c50", "<???> @ 0x140912c5c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}