{"type": "func", "start": 5369877648, "end": 5369878011, "name": "DeathMarkerSettingsPopup::onClearMarkers", "pseudocode": "// \n// DeathMarkerSettingsPopup::onClearMarkers from 0x14011d490 to 0x14011d5fb (363 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011d378\n// > <???> @ 0x140916418\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=1\n__int64 __fastcall DeathMarkerSettingsPopup::onClearMarkers(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  __int64 *v3; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v1 = a1 + 1000;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x70u);\n  v6 = 107;\n  v7 = 111;\n  strcpy(\n    (char *)v5,\n    \"Clear your saved <cb>death markers</c> for this level? Death stats are not affected. This cannot be undone.\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = (__int64 *)FLAlertLayer::create(\n                    v1,\n                    (int)\"Clear Markers\",\n                    v2,\n                    (__int64)\"Cancel\",\n                    (__int64)\"Clear\",\n                    1134559232,\n                    0,\n                    0,\n                    1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(__int64 *, __int64))(*v3 + 64))(v3, 1);\n  ButtonSprite::updateBGImage(v3[77], \"GJ_button_06.png\");\n  return (*(__int64 (__fastcall **)(__int64 *))(*v3 + 1064))(v3);\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onClearMarkers from 0x14011d490 to 0x14011d5fb (363 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011d378\n; > <???> @ 0x140916418\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; \npush    rbx                                                            ; +0x0, 0x14011d490\nsub     rsp, 90h                                                       ; +0x2, 0x14011d492\nlea     rbx, [rcx+3E8h]                                                ; +0x9, 0x14011d499\nxor     eax, eax                                                       ; +0x10, 0x14011d4a0\ntest    rcx, rcx                                                       ; +0x12, 0x14011d4a2\ncmovz   rbx, rax                                                       ; +0x15, 0x14011d4a5\nxorps   xmm0, xmm0                                                     ; +0x19, 0x14011d4a9\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x14011d4ac\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x14011d4b1\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x14011d4b6\nmov     ecx, 70h ; 'p'                                                 ; +0x2b, 0x14011d4bb\ncall    sub_14003D460                                                  ; +0x30, 0x14011d4c0\nmov     rcx, rax                                                       ; +0x35, 0x14011d4c5\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x38, 0x14011d4c8\nmov     [rsp+98h+var_38], 6Bh ; 'k'                                    ; +0x3d, 0x14011d4cd\nmov     [rsp+98h+var_30], 6Fh ; 'o'                                    ; +0x46, 0x14011d4d6\nmovaps  xmm0, cs:xmmword_140730690                                     ; +0x4f, 0x14011d4df\nmovups  xmmword ptr [rax], xmm0                                        ; +0x56, 0x14011d4e6\nmovaps  xmm1, cs:xmmword_1407306A0                                     ; +0x59, 0x14011d4e9\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x60, 0x14011d4f0\nmovaps  xmm0, cs:xmmword_1407306B0                                     ; +0x64, 0x14011d4f4\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x6b, 0x14011d4fb\nmovaps  xmm1, cs:xmmword_1407306C0                                     ; +0x6f, 0x14011d4ff\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x76, 0x14011d506\nmovaps  xmm0, cs:xmmword_1407306D0                                     ; +0x7a, 0x14011d50a\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x81, 0x14011d511\nmovaps  xmm1, cs:xmmword_1407306E0                                     ; +0x85, 0x14011d515\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x8c, 0x14011d51c\nmovsd   xmm0, cs:qword_1407306F0                                       ; +0x90, 0x14011d520\nmovsd   qword ptr [rax+60h], xmm0                                      ; +0x98, 0x14011d528\nmovzx   eax, cs:word_1407306F8                                         ; +0x9d, 0x14011d52d\nmov     [rcx+68h], ax                                                  ; +0xa4, 0x14011d534\nmovzx   eax, cs:byte_1407306FA                                         ; +0xa8, 0x14011d538\nmov     [rcx+6Ah], al                                                  ; +0xaf, 0x14011d53f\nmov     byte ptr [rcx+6Bh], 0                                          ; +0xb2, 0x14011d542\nlea     rax, [rsp+98h+var_48]                                          ; +0xb6, 0x14011d546\nmov     [rsp+98h+arg_0], rax                                           ; +0xbb, 0x14011d54b\nlea     rdx, [rsp+98h+var_48]                                          ; +0xc3, 0x14011d553\nlea     rcx, [rsp+98h+var_28]                                          ; +0xc8, 0x14011d558\ncall    sub_14003F4F0                                                  ; +0xcd, 0x14011d55d\nmovss   xmm0, cs:flt_140835080                                         ; +0xd2, 0x14011d562\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xda, 0x14011d56a\nxorps   xmm1, xmm1                                                     ; +0xe0, 0x14011d570\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xe3, 0x14011d573\nmov     [rsp+98h+var_68], 0                                            ; +0xe9, 0x14011d579\nmovss   xmm0, cs:dword_1408359C0                                       ; +0xee, 0x14011d57e\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xf6, 0x14011d586\nlea     rcx, aClear; \"Clear\"                                           ; +0xfc, 0x14011d58c\nmov     [rsp+98h+var_78], rcx                                          ; +0x103, 0x14011d593\nlea     r9, aCancel; \"Cancel\"                                          ; +0x108, 0x14011d598\nmov     r8, rax                                                        ; +0x10f, 0x14011d59f\nlea     rdx, aClearMarkers; \"Clear Markers\"                            ; +0x112, 0x14011d5a2\nmov     rcx, rbx                                                       ; +0x119, 0x14011d5a9\ncall    FLAlertLayer__create                                           ; +0x11c, 0x14011d5ac\nmov     rbx, rax                                                       ; +0x121, 0x14011d5b1\nlea     rcx, [rsp+98h+var_48]                                          ; +0x124, 0x14011d5b4\ncall    sub_14003D310                                                  ; +0x129, 0x14011d5b9\nmov     rcx, [rbx]                                                     ; +0x12e, 0x14011d5be\nmov     r8, [rcx+40h]                                                  ; +0x131, 0x14011d5c1\nmov     edx, 1                                                         ; +0x135, 0x14011d5c5\nmov     rcx, rbx                                                       ; +0x13a, 0x14011d5ca\ncall    r8                                                             ; +0x13d, 0x14011d5cd\nlea     rdx, aGjButton06Png; \"GJ_button_06.png\"                        ; +0x140, 0x14011d5d0\nmov     rcx, [rbx+268h]                                                ; +0x147, 0x14011d5d7\ncall    ButtonSprite__updateBGImage                                    ; +0x14e, 0x14011d5de\nmov     rcx, [rbx]                                                     ; +0x153, 0x14011d5e3\nmov     rdx, [rcx+428h]                                                ; +0x156, 0x14011d5e6\nmov     rcx, rbx                                                       ; +0x15d, 0x14011d5ed\ncall    rdx                                                            ; +0x160, 0x14011d5f0\nadd     rsp, 90h                                                       ; +0x162, 0x14011d5f2\npop     rbx                                                            ; +0x169, 0x14011d5f9\nretn                                                                   ; +0x16a, 0x14011d5fa", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011d378", "<???> @ 0x140916418"], "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"}