{"type": "func", "start": 5369545552, "end": 5369545983, "name": "AutoBackupPopup::FLAlert_Clicked", "pseudocode": "// \n// AutoBackupPopup::FLAlert_Clicked from 0x1400cc350 to 0x1400cc4ff (431 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140725410\n// > <???> @ 0x140891090\n// > <???> @ 0x1408910c4\n// > <???> @ 0x140914018\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:23 +0000\n// \n\nunsigned __int64 __fastcall AutoBackupPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  unsigned __int64 result; // rax\n  _QWORD *v6; // rax\n  _QWORD *v7; // rbx\n  const char *v8; // rax\n  __int64 **v9; // rdx\n  __int64 i; // rax\n  __int64 *j; // rdx\n  __int64 v12; // r8\n  __int64 v13; // r9\n  __int64 v14; // rcx\n  const char *v15; // rax\n  _QWORD v16[4]; // [rsp+20h] [rbp-48h] BYREF\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  if ( (_DWORD)result == 3 )\n  {\n    if ( a3 )\n    {\n      v6 = *(_QWORD **)(a1 + 176);\n      v7 = (_QWORD *)*v6;\n      if ( (_QWORD *)*v6 != v6 )\n      {\n        do\n        {\n          v8 = (const char *)sub_140075860(v16, (_QWORD *)(a1 + 24), v7 + 4);\n          if ( *((_QWORD *)v8 + 3) > 0xFu )\n            v8 = *(const char **)v8;\n          remove(v8);\n          sub_14003D310((__int64)v16);\n          v9 = (__int64 **)v7[2];\n          if ( *((_BYTE *)v9 + 25) )\n          {\n            for ( i = v7[1]; !*(_BYTE *)(i + 25); i = *(_QWORD *)(i + 8) )\n            {\n              if ( v7 != *(_QWORD **)(i + 16) )\n                break;\n              v7 = (_QWORD *)i;\n            }\n            v7 = (_QWORD *)i;\n          }\n          else\n          {\n            v7 = (_QWORD *)v7[2];\n            for ( j = *v9; !*((_BYTE *)j + 25); j = (__int64 *)*j )\n              v7 = j;\n          }\n        }\n        while ( v7 != *(_QWORD **)(a1 + 176) );\n      }\n      sub_1400CF730(a1 + 176);\n      return (**(__int64 (__fastcall ***)(__int64))(a1 + 8))(a1 + 8);\n    }\n  }\n  else\n  {\n    v12 = *(int *)(a1 + 168);\n    *(_DWORD *)(a1 + 168) = -1;\n    if ( a3 )\n    {\n      if ( (int)v12 >= 0 )\n      {\n        v13 = *(_QWORD *)(a1 + 80);\n        v14 = *(_QWORD *)(a1 + 88) - v13;\n        result = (unsigned __int64)(v14 + ((unsigned __int128)(v14 * (__int128)(__int64)0xC30C30C30C30C30DuLL) >> 64)) >> 63;\n        if ( (int)v12 < (int)(v14 / 168) )\n        {\n          v15 = (const char *)sub_140075860(v16, (_QWORD *)(a1 + 24), (_QWORD *)(v13 + 168 * v12));\n          if ( *((_QWORD *)v15 + 3) > 0xFu )\n            v15 = *(const char **)v15;\n          remove(v15);\n          sub_14003D310((__int64)v16);\n          return (**(__int64 (__fastcall ***)(__int64))(a1 + 8))(a1 + 8);\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; AutoBackupPopup::FLAlert_Clicked from 0x1400cc350 to 0x1400cc4ff (431 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140725410\n; > <???> @ 0x140891090\n; > <???> @ 0x1408910c4\n; > <???> @ 0x140914018\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:23 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400cc350\npush    rdi                                                            ; +0x2, 0x1400cc352\nsub     rsp, 58h                                                       ; +0x3, 0x1400cc353\nmov     rax, cs:__security_cookie                                      ; +0x7, 0x1400cc357\nxor     rax, rsp                                                       ; +0xe, 0x1400cc35e\nmov     [rsp+68h+var_28], rax                                          ; +0x11, 0x1400cc361\nmov     rax, [rdx]                                                     ; +0x16, 0x1400cc366\nmov     rdi, rcx                                                       ; +0x19, 0x1400cc369\nmov     rcx, rdx                                                       ; +0x1c, 0x1400cc36c\nmovzx   ebx, r8b                                                       ; +0x1f, 0x1400cc36f\ncall    qword ptr [rax+38h]                                            ; +0x23, 0x1400cc373\ncmp     eax, 3                                                         ; +0x26, 0x1400cc376\njnz     loc_1400CC464                                                  ; +0x29, 0x1400cc379\ntest    bl, bl                                                         ; +0x2f, 0x1400cc37f\njz      loc_1400CC4EB                                                  ; +0x31, 0x1400cc381\nmov     rax, [rdi+0B0h]                                                ; +0x37, 0x1400cc387\nmov     [rsp+68h+var_18], rsi                                          ; +0x3e, 0x1400cc38e\nmov     rbx, [rax]                                                     ; +0x43, 0x1400cc393\ncmp     rbx, rax                                                       ; +0x46, 0x1400cc396\njz      loc_1400CC444                                                  ; +0x49, 0x1400cc399\nmov     [rsp+68h+arg_10], rbp                                          ; +0x4f, 0x1400cc39f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x57, 0x1400cc3a7\nlea     r8, [rbx+20h]; void *                                          ; +0x60, 0x1400cc3b0\nlea     rdx, [rdi+18h]; Src                                            ; +0x64, 0x1400cc3b4\nlea     rcx, [rsp+68h+var_48]; void *                                  ; +0x68, 0x1400cc3b8\ncall    sub_140075860                                                  ; +0x6d, 0x1400cc3bd\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x72, 0x1400cc3c2\njbe     short loc_1400CC3CC                                            ; +0x77, 0x1400cc3c7\nmov     rax, [rax]                                                     ; +0x79, 0x1400cc3c9\nmov     rcx, rax; FileName                                             ; +0x7c, 0x1400cc3cc\ncall    cs:remove                                                      ; +0x7f, 0x1400cc3cf\nlea     rcx, [rsp+68h+var_48]                                          ; +0x85, 0x1400cc3d5\ncall    sub_14003D310                                                  ; +0x8a, 0x1400cc3da\nmov     rdx, [rbx+10h]                                                 ; +0x8f, 0x1400cc3df\ncmp     byte ptr [rdx+19h], 0                                          ; +0x93, 0x1400cc3e3\njz      short loc_1400CC40B                                            ; +0x97, 0x1400cc3e7\nmov     rax, [rbx+8]                                                   ; +0x99, 0x1400cc3e9\ncmp     byte ptr [rax+19h], 0                                          ; +0x9d, 0x1400cc3ed\njnz     short loc_1400CC406                                            ; +0xa1, 0x1400cc3f1\ncmp     rbx, [rax+10h]                                                 ; +0xa3, 0x1400cc3f3\njnz     short loc_1400CC406                                            ; +0xa7, 0x1400cc3f7\nmov     rbx, rax                                                       ; +0xa9, 0x1400cc3f9\nmov     rax, [rax+8]                                                   ; +0xac, 0x1400cc3fc\ncmp     byte ptr [rax+19h], 0                                          ; +0xb0, 0x1400cc400\njz      short loc_1400CC3F3                                            ; +0xb4, 0x1400cc404\nmov     rbx, rax                                                       ; +0xb6, 0x1400cc406\njmp     short loc_1400CC42F                                            ; +0xb9, 0x1400cc409\nmov     rbx, rdx                                                       ; +0xbb, 0x1400cc40b\nmov     rdx, [rdx]                                                     ; +0xbe, 0x1400cc40e\ncmp     byte ptr [rdx+19h], 0                                          ; +0xc1, 0x1400cc411\njnz     short loc_1400CC42F                                            ; +0xc5, 0x1400cc415\nnop     word ptr [rax+rax+00000000h]                                   ; +0xc7, 0x1400cc417\nmov     rax, [rdx]                                                     ; +0xd0, 0x1400cc420\nmov     rbx, rdx                                                       ; +0xd3, 0x1400cc423\nmov     rdx, rax                                                       ; +0xd6, 0x1400cc426\ncmp     byte ptr [rax+19h], 0                                          ; +0xd9, 0x1400cc429\njz      short loc_1400CC420                                            ; +0xdd, 0x1400cc42d\ncmp     rbx, [rdi+0B0h]                                                ; +0xdf, 0x1400cc42f\njnz     loc_1400CC3B0                                                  ; +0xe6, 0x1400cc436\nmov     rbp, [rsp+68h+arg_10]                                          ; +0xec, 0x1400cc43c\nlea     rcx, [rdi+0B0h]                                                ; +0xf4, 0x1400cc444\ncall    sub_1400CF730                                                  ; +0xfb, 0x1400cc44b\nmov     rax, [rdi+8]                                                   ; +0x100, 0x1400cc450\nlea     rcx, [rdi+8]                                                   ; +0x104, 0x1400cc454\ncall    qword ptr [rax]                                                ; +0x108, 0x1400cc458\nmov     rsi, [rsp+68h+var_18]                                          ; +0x10a, 0x1400cc45a\njmp     loc_1400CC4EB                                                  ; +0x10f, 0x1400cc45f\nmovsxd  r8, dword ptr [rdi+0A8h]                                       ; +0x114, 0x1400cc464\nmov     dword ptr [rdi+0A8h], 0FFFFFFFFh                               ; +0x11b, 0x1400cc46b\ntest    bl, bl                                                         ; +0x125, 0x1400cc475\njz      short loc_1400CC4EB                                            ; +0x127, 0x1400cc477\ntest    r8d, r8d                                                       ; +0x129, 0x1400cc479\njs      short loc_1400CC4EB                                            ; +0x12c, 0x1400cc47c\nmov     r9, [rdi+50h]                                                  ; +0x12e, 0x1400cc47e\nmov     rax, 0C30C30C30C30C30Dh                                        ; +0x132, 0x1400cc482\nmov     rcx, [rdi+58h]                                                 ; +0x13c, 0x1400cc48c\nsub     rcx, r9                                                        ; +0x140, 0x1400cc490\nimul    rcx                                                            ; +0x143, 0x1400cc493\nadd     rdx, rcx                                                       ; +0x146, 0x1400cc496\nsar     rdx, 7                                                         ; +0x149, 0x1400cc499\nmov     rax, rdx                                                       ; +0x14d, 0x1400cc49d\nshr     rax, 3Fh                                                       ; +0x150, 0x1400cc4a0\nadd     rdx, rax                                                       ; +0x154, 0x1400cc4a4\ncmp     r8d, edx                                                       ; +0x157, 0x1400cc4a7\njge     short loc_1400CC4EB                                            ; +0x15a, 0x1400cc4aa\nimul    r8, 0A8h                                                       ; +0x15c, 0x1400cc4ac\nlea     rdx, [rdi+18h]; Src                                            ; +0x163, 0x1400cc4b3\nadd     r8, r9; void *                                                 ; +0x167, 0x1400cc4b7\nlea     rcx, [rsp+68h+var_48]; void *                                  ; +0x16a, 0x1400cc4ba\ncall    sub_140075860                                                  ; +0x16f, 0x1400cc4bf\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x174, 0x1400cc4c4\njbe     short loc_1400CC4CE                                            ; +0x179, 0x1400cc4c9\nmov     rax, [rax]                                                     ; +0x17b, 0x1400cc4cb\nmov     rcx, rax; FileName                                             ; +0x17e, 0x1400cc4ce\ncall    cs:remove                                                      ; +0x181, 0x1400cc4d1\nlea     rcx, [rsp+68h+var_48]                                          ; +0x187, 0x1400cc4d7\ncall    sub_14003D310                                                  ; +0x18c, 0x1400cc4dc\nmov     rax, [rdi+8]                                                   ; +0x191, 0x1400cc4e1\nlea     rcx, [rdi+8]                                                   ; +0x195, 0x1400cc4e5\ncall    qword ptr [rax]                                                ; +0x199, 0x1400cc4e9\nmov     rcx, [rsp+68h+var_28]                                          ; +0x19b, 0x1400cc4eb\nxor     rcx, rsp; StackCookie                                          ; +0x1a0, 0x1400cc4f0\ncall    __security_check_cookie                                        ; +0x1a3, 0x1400cc4f3\nadd     rsp, 58h                                                       ; +0x1a8, 0x1400cc4f8\npop     rdi                                                            ; +0x1ac, 0x1400cc4fc\npop     rbx                                                            ; +0x1ad, 0x1400cc4fd\nretn                                                                   ; +0x1ae, 0x1400cc4fe", "xrefs": ["<???> @ 0x140725410", "<???> @ 0x140891090", "<???> @ 0x1408910c4", "<???> @ 0x140914018"], "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"}