{"type": "func", "start": 5369878016, "end": 5369878591, "name": "DeathMarkerSettingsPopup::FLAlert_Clicked", "pseudocode": "// \n// DeathMarkerSettingsPopup::FLAlert_Clicked from 0x14011d600 to 0x14011d83f (575 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140730968\n// > <???> @ 0x140916424\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:55 +0000\n// \n\n// Hidden C++ exception states: #wind=9\nvoid __fastcall DeathMarkerSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v4; // r8\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rax\n  __int64 v8; // rdx\n  __int64 v9; // rdx\n  __int64 *v10; // rdi\n  __int64 v11; // rbx\n  __int64 v12; // rdx\n  __int64 v13; // r8\n  __int64 v14; // rax\n  __int128 v15; // [rsp+38h] [rbp-50h] BYREF\n  __int64 v16; // [rsp+48h] [rbp-40h]\n  __int64 v17; // [rsp+50h] [rbp-38h]\n  __int128 v18; // [rsp+58h] [rbp-30h] BYREF\n  __int64 v19; // [rsp+68h] [rbp-20h]\n  __int64 v20; // [rsp+70h] [rbp-18h]\n  void *v21; // [rsp+A8h] [rbp+20h]\n  void *v22; // [rsp+A8h] [rbp+20h]\n  void *v23; // [rsp+A8h] [rbp+20h]\n\n  if ( a3 && (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 )\n  {\n    v5 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v21 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v21);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v5 = *(_QWORD *)&qword_14090BFB0;\n    }\n    LOBYTE(v4) = 1;\n    GameLevelManager::clearDeathDataInstances(v5, *(_QWORD *)(a1 + 40), v4);\n    v6 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v22 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v22);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v6 = qword_14090BFD0;\n    }\n    v7 = *(_QWORD *)(v6 + 560);\n    if ( v7 )\n    {\n      v8 = *(_QWORD *)(v7 + 15096);\n      if ( v8 != *(_QWORD *)(v7 + 15104) )\n        *(_QWORD *)(v7 + 15104) = v8;\n      *(_BYTE *)(*(_QWORD *)(v6 + 560) + 15120LL) = 0;\n      v9 = *(_QWORD *)(*(_QWORD *)(v6 + 560) + 2176LL);\n      if ( v9 )\n      {\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 512LL))(v9);\n        v6 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v23 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager(v23);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v6 = qword_14090BFD0;\n        }\n        *(_QWORD *)(*(_QWORD *)(v6 + 560) + 2176LL) = 0;\n      }\n      PlayLayer::dtLiveMarkersChanged(*(_QWORD *)(v6 + 560));\n    }\n    v10 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v6) + 272);\n    v18 = 0;\n    v19 = 0;\n    v20 = 15;\n    LOBYTE(v18) = 0;\n    v15 = 0;\n    *(_QWORD *)&v15 = sub_14003D460(0x20u);\n    v16 = 21;\n    v17 = 31;\n    strcpy((char *)v15, \"Death markers cleared\");\n    v11 = *v10;\n    v14 = TextAlertPopup::create(&v15, v12, v13, 150, &v18);\n    (*(void (__fastcall **)(__int64 *, __int64, __int64))(v11 + 456))(v10, v14, 1000);\n  }\n}", "assembly": "; \n; DeathMarkerSettingsPopup::FLAlert_Clicked from 0x14011d600 to 0x14011d83f (575 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140730968\n; > <???> @ 0x140916424\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:55 +0000\n; \ntest    r8b, r8b                                                       ; +0x0, 0x14011d600\njz      locret_14011D83E                                               ; +0x3, 0x14011d603\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x14011d609\npush    rdi                                                            ; +0xe, 0x14011d60e\nsub     rsp, 80h                                                       ; +0xf, 0x14011d60f\nmov     rbx, rcx                                                       ; +0x16, 0x14011d616\nmov     rax, [rdx]                                                     ; +0x19, 0x14011d619\nmov     rcx, rdx                                                       ; +0x1c, 0x14011d61c\ncall    qword ptr [rax+38h]                                            ; +0x1f, 0x14011d61f\ncmp     eax, 1                                                         ; +0x22, 0x14011d622\njnz     loc_14011D82E                                                  ; +0x25, 0x14011d625\nmov     rcx, cs:qword_14090BFB0                                        ; +0x2b, 0x14011d62b\ntest    rcx, rcx                                                       ; +0x32, 0x14011d632\njnz     short loc_14011D66C                                            ; +0x35, 0x14011d635\nmov     ecx, 690h; Size                                                ; +0x37, 0x14011d637\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3c, 0x14011d63c\nmov     [rsp+88h+arg_18], rax                                          ; +0x41, 0x14011d641\nmov     rcx, rax                                                       ; +0x49, 0x14011d649\ncall    GameLevelManager__GameLevelManager                             ; +0x4c, 0x14011d64c\nnop                                                                    ; +0x51, 0x14011d651\nmov     cs:qword_14090BFB0, rax                                        ; +0x52, 0x14011d652\nmov     rcx, [rax]                                                     ; +0x59, 0x14011d659\nmov     rdx, [rcx+48h]                                                 ; +0x5c, 0x14011d65c\nmov     rcx, rax                                                       ; +0x60, 0x14011d660\ncall    rdx                                                            ; +0x63, 0x14011d663\nmov     rcx, cs:qword_14090BFB0                                        ; +0x65, 0x14011d665\nmov     r8b, 1                                                         ; +0x6c, 0x14011d66c\nmov     rdx, [rbx+28h]                                                 ; +0x6f, 0x14011d66f\ncall    GameLevelManager__clearDeathDataInstances                      ; +0x73, 0x14011d673\nmov     rcx, cs:qword_14090BFD0                                        ; +0x78, 0x14011d678\ntest    rcx, rcx                                                       ; +0x7f, 0x14011d67f\njnz     short loc_14011D6B9                                            ; +0x82, 0x14011d682\nmov     ecx, 6E8h; Size                                                ; +0x84, 0x14011d684\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x89, 0x14011d689\nmov     [rsp+88h+arg_18], rax                                          ; +0x8e, 0x14011d68e\nmov     rcx, rax                                                       ; +0x96, 0x14011d696\ncall    GameManager__GameManager                                       ; +0x99, 0x14011d699\nnop                                                                    ; +0x9e, 0x14011d69e\nmov     cs:qword_14090BFD0, rax                                        ; +0x9f, 0x14011d69f\nmov     rcx, [rax]                                                     ; +0xa6, 0x14011d6a6\nmov     rdx, [rcx+48h]                                                 ; +0xa9, 0x14011d6a9\nmov     rcx, rax                                                       ; +0xad, 0x14011d6ad\ncall    rdx                                                            ; +0xb0, 0x14011d6b0\nmov     rcx, cs:qword_14090BFD0                                        ; +0xb2, 0x14011d6b2\nmov     rax, [rcx+230h]                                                ; +0xb9, 0x14011d6b9\nxor     ebx, ebx                                                       ; +0xc0, 0x14011d6c0\ntest    rax, rax                                                       ; +0xc2, 0x14011d6c2\njz      loc_14011D769                                                  ; +0xc5, 0x14011d6c5\nmov     rdx, [rax+3AF8h]                                               ; +0xcb, 0x14011d6cb\ncmp     rdx, [rax+3B00h]                                               ; +0xd2, 0x14011d6d2\njz      short loc_14011D6E2                                            ; +0xd9, 0x14011d6d9\nmov     [rax+3B00h], rdx                                               ; +0xdb, 0x14011d6db\nmov     rax, [rcx+230h]                                                ; +0xe2, 0x14011d6e2\nmov     [rax+3B10h], bl                                                ; +0xe9, 0x14011d6e9\nmov     rax, [rcx+230h]                                                ; +0xef, 0x14011d6ef\nmov     rdx, [rax+880h]                                                ; +0xf6, 0x14011d6f6\ntest    rdx, rdx                                                       ; +0xfd, 0x14011d6fd\njz      short loc_14011D75D                                            ; +0x100, 0x14011d700\nmov     rax, [rdx]                                                     ; +0x102, 0x14011d702\nmov     rcx, rdx                                                       ; +0x105, 0x14011d705\ncall    qword ptr [rax+200h]                                           ; +0x108, 0x14011d708\nmov     rcx, cs:qword_14090BFD0                                        ; +0x10e, 0x14011d70e\ntest    rcx, rcx                                                       ; +0x115, 0x14011d715\njnz     short loc_14011D74F                                            ; +0x118, 0x14011d718\nmov     ecx, 6E8h; Size                                                ; +0x11a, 0x14011d71a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x11f, 0x14011d71f\nmov     [rsp+88h+arg_18], rax                                          ; +0x124, 0x14011d724\nmov     rcx, rax                                                       ; +0x12c, 0x14011d72c\ncall    GameManager__GameManager                                       ; +0x12f, 0x14011d72f\nnop                                                                    ; +0x134, 0x14011d734\nmov     cs:qword_14090BFD0, rax                                        ; +0x135, 0x14011d735\nmov     rcx, [rax]                                                     ; +0x13c, 0x14011d73c\nmov     rdx, [rcx+48h]                                                 ; +0x13f, 0x14011d73f\nmov     rcx, rax                                                       ; +0x143, 0x14011d743\ncall    rdx                                                            ; +0x146, 0x14011d746\nmov     rcx, cs:qword_14090BFD0                                        ; +0x148, 0x14011d748\nmov     rax, [rcx+230h]                                                ; +0x14f, 0x14011d74f\nmov     [rax+880h], rbx                                                ; +0x156, 0x14011d756\nmov     rcx, [rcx+230h]                                                ; +0x15d, 0x14011d75d\ncall    PlayLayer__dtLiveMarkersChanged                                ; +0x164, 0x14011d764\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x169, 0x14011d769\nmov     rdi, [rax+110h]                                                ; +0x16f, 0x14011d76f\nlea     rax, [rsp+88h+var_30]                                          ; +0x176, 0x14011d776\nmov     [rsp+88h+arg_18], rax                                          ; +0x17b, 0x14011d77b\nxorps   xmm0, xmm0                                                     ; +0x183, 0x14011d783\nmovups  [rsp+88h+var_30], xmm0                                         ; +0x186, 0x14011d786\nmov     [rsp+88h+var_20], rbx                                          ; +0x18b, 0x14011d78b\nmov     [rsp+88h+var_18], 0Fh                                          ; +0x190, 0x14011d790\nmov     byte ptr [rsp+88h+var_30], 0                                   ; +0x199, 0x14011d799\nmovups  [rsp+88h+var_50], xmm0                                         ; +0x19e, 0x14011d79e\nmov     [rsp+88h+var_40], rbx                                          ; +0x1a3, 0x14011d7a3\nmov     [rsp+88h+var_38], rbx                                          ; +0x1a8, 0x14011d7a8\nmov     ecx, 20h ; ' '                                                 ; +0x1ad, 0x14011d7ad\ncall    sub_14003D460                                                  ; +0x1b2, 0x14011d7b2\nmov     qword ptr [rsp+88h+var_50], rax                                ; +0x1b7, 0x14011d7b7\nmov     [rsp+88h+var_40], 15h                                          ; +0x1bc, 0x14011d7bc\nmov     [rsp+88h+var_38], 1Fh                                          ; +0x1c5, 0x14011d7c5\nmovups  xmm0, cs:xmmword_140730670                                     ; +0x1ce, 0x14011d7ce\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1d5, 0x14011d7d5\nmov     ecx, cs:dword_140730680                                        ; +0x1d8, 0x14011d7d8\nmov     [rax+10h], ecx                                                 ; +0x1de, 0x14011d7de\nmovzx   ecx, cs:byte_140730684                                         ; +0x1e1, 0x14011d7e1\nmov     [rax+14h], cl                                                  ; +0x1e8, 0x14011d7e8\nmov     byte ptr [rax+15h], 0                                          ; +0x1eb, 0x14011d7eb\nmov     rbx, [rdi]                                                     ; +0x1ef, 0x14011d7ef\nlea     rax, [rsp+88h+var_30]                                          ; +0x1f2, 0x14011d7f2\nmov     [rsp+88h+var_68], rax                                          ; +0x1f7, 0x14011d7f7\nmov     r9d, 96h                                                       ; +0x1fc, 0x14011d7fc\nmovss   xmm2, cs:dword_140834F64                                       ; +0x202, 0x14011d802\nmovss   xmm1, cs:dword_140834F20                                       ; +0x20a, 0x14011d80a\nlea     rcx, [rsp+88h+var_50]                                          ; +0x212, 0x14011d812\ncall    TextAlertPopup__create                                         ; +0x217, 0x14011d817\nmov     rdx, rax                                                       ; +0x21c, 0x14011d81c\nmov     r8d, 3E8h                                                      ; +0x21f, 0x14011d81f\nmov     rcx, rdi                                                       ; +0x225, 0x14011d825\ncall    qword ptr [rbx+1C8h]                                           ; +0x228, 0x14011d828\nmov     rbx, [rsp+88h+arg_0]                                           ; +0x22e, 0x14011d82e\nadd     rsp, 80h                                                       ; +0x236, 0x14011d836\npop     rdi                                                            ; +0x23d, 0x14011d83d\nretn                                                                   ; +0x23e, 0x14011d83e", "xrefs": ["<???> @ 0x140730968", "<???> @ 0x140916424"], "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"}