{"type": "func", "start": 5369880480, "end": 5369880872, "name": "DeathMarkerSettingsPopup::onToggleDisabled", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleDisabled from 0x14011dfa0 to 0x14011e128 (392 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011cf13\n// > <???> @ 0x140916490\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\n__int64 __fastcall DeathMarkerSettingsPopup::onToggleDisabled(__int64 a1)\n{\n  __int64 result; // rax\n  char v2; // bl\n  __int64 v3; // rcx\n  __int64 v4; // rdx\n  __int64 v5; // rdx\n  __int64 v6; // rdx\n  void *v7; // [rsp+40h] [rbp+18h]\n  void *v8; // [rsp+40h] [rbp+18h]\n  void *v9; // [rsp+40h] [rbp+18h]\n  void *v10; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_14090BFD0 )\n  {\n    v7 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  result = GameManager::toggleGameVariable(a1, \"0207\");\n  v2 = result;\n  v3 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v8 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v8);\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v3 = qword_14090BFD0;\n  }\n  v4 = *(_QWORD *)(v3 + 560);\n  if ( v4 )\n  {\n    if ( v2 )\n    {\n      v5 = *(_QWORD *)(v4 + 2176);\n      if ( v5 )\n      {\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 512LL))(v5);\n        v3 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v9 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager(v9);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v3 = qword_14090BFD0;\n        }\n        *(_QWORD *)(*(_QWORD *)(v3 + 560) + 2176LL) = 0;\n      }\n      v6 = *(_QWORD *)(*(_QWORD *)(v3 + 560) + 2184LL);\n      if ( v6 )\n      {\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 512LL))(v6);\n        v3 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v10 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager(v10);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v3 = qword_14090BFD0;\n        }\n        *(_QWORD *)(*(_QWORD *)(v3 + 560) + 2184LL) = 0;\n      }\n    }\n    return PlayLayer::dtLiveMarkersChanged(*(_QWORD *)(v3 + 560));\n  }\n  return result;\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onToggleDisabled from 0x14011dfa0 to 0x14011e128 (392 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011cf13\n; > <???> @ 0x140916490\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, 0x14011dfa0\nsub     rsp, 20h                                                       ; +0x2, 0x14011dfa2\ncmp     cs:qword_14090BFD0, 0                                          ; +0x6, 0x14011dfa6\njnz     short loc_14011DFDB                                            ; +0xe, 0x14011dfae\nmov     ecx, 6E8h; Size                                                ; +0x10, 0x14011dfb0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x14011dfb5\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x14011dfba\nmov     rcx, rax                                                       ; +0x1f, 0x14011dfbf\ncall    GameManager__GameManager                                       ; +0x22, 0x14011dfc2\nnop                                                                    ; +0x27, 0x14011dfc7\nmov     cs:qword_14090BFD0, rax                                        ; +0x28, 0x14011dfc8\nmov     rcx, [rax]                                                     ; +0x2f, 0x14011dfcf\nmov     rdx, [rcx+48h]                                                 ; +0x32, 0x14011dfd2\nmov     rcx, rax                                                       ; +0x36, 0x14011dfd6\ncall    rdx                                                            ; +0x39, 0x14011dfd9\nlea     rdx, a0207; \"0207\"                                             ; +0x3b, 0x14011dfdb\ncall    GameManager__toggleGameVariable                                ; +0x42, 0x14011dfe2\nmovzx   ebx, al                                                        ; +0x47, 0x14011dfe7\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4a, 0x14011dfea\ntest    rcx, rcx                                                       ; +0x51, 0x14011dff1\njnz     short loc_14011E028                                            ; +0x54, 0x14011dff4\nmov     ecx, 6E8h; Size                                                ; +0x56, 0x14011dff6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x5b, 0x14011dffb\nmov     [rsp+28h+arg_10], rax                                          ; +0x60, 0x14011e000\nmov     rcx, rax                                                       ; +0x65, 0x14011e005\ncall    GameManager__GameManager                                       ; +0x68, 0x14011e008\nnop                                                                    ; +0x6d, 0x14011e00d\nmov     cs:qword_14090BFD0, rax                                        ; +0x6e, 0x14011e00e\nmov     rcx, [rax]                                                     ; +0x75, 0x14011e015\nmov     rdx, [rcx+48h]                                                 ; +0x78, 0x14011e018\nmov     rcx, rax                                                       ; +0x7c, 0x14011e01c\ncall    rdx                                                            ; +0x7f, 0x14011e01f\nmov     rcx, cs:qword_14090BFD0                                        ; +0x81, 0x14011e021\nmov     rdx, [rcx+230h]                                                ; +0x88, 0x14011e028\ntest    rdx, rdx                                                       ; +0x8f, 0x14011e02f\njz      loc_14011E122                                                  ; +0x92, 0x14011e032\ntest    bl, bl                                                         ; +0x98, 0x14011e038\njz      loc_14011E111                                                  ; +0x9a, 0x14011e03a\nmov     rdx, [rdx+880h]                                                ; +0xa0, 0x14011e040\nxor     ebx, ebx                                                       ; +0xa7, 0x14011e047\ntest    rdx, rdx                                                       ; +0xa9, 0x14011e049\njz      short loc_14011E0A6                                            ; +0xac, 0x14011e04c\nmov     rax, [rdx]                                                     ; +0xae, 0x14011e04e\nmov     rcx, rdx                                                       ; +0xb1, 0x14011e051\ncall    qword ptr [rax+200h]                                           ; +0xb4, 0x14011e054\nmov     rcx, cs:qword_14090BFD0                                        ; +0xba, 0x14011e05a\ntest    rcx, rcx                                                       ; +0xc1, 0x14011e061\njnz     short loc_14011E098                                            ; +0xc4, 0x14011e064\nmov     ecx, 6E8h; Size                                                ; +0xc6, 0x14011e066\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xcb, 0x14011e06b\nmov     [rsp+28h+arg_10], rax                                          ; +0xd0, 0x14011e070\nmov     rcx, rax                                                       ; +0xd5, 0x14011e075\ncall    GameManager__GameManager                                       ; +0xd8, 0x14011e078\nnop                                                                    ; +0xdd, 0x14011e07d\nmov     cs:qword_14090BFD0, rax                                        ; +0xde, 0x14011e07e\nmov     rcx, [rax]                                                     ; +0xe5, 0x14011e085\nmov     rdx, [rcx+48h]                                                 ; +0xe8, 0x14011e088\nmov     rcx, rax                                                       ; +0xec, 0x14011e08c\ncall    rdx                                                            ; +0xef, 0x14011e08f\nmov     rcx, cs:qword_14090BFD0                                        ; +0xf1, 0x14011e091\nmov     rax, [rcx+230h]                                                ; +0xf8, 0x14011e098\nmov     [rax+880h], rbx                                                ; +0xff, 0x14011e09f\nmov     rax, [rcx+230h]                                                ; +0x106, 0x14011e0a6\nmov     rdx, [rax+888h]                                                ; +0x10d, 0x14011e0ad\ntest    rdx, rdx                                                       ; +0x114, 0x14011e0b4\njz      short loc_14011E111                                            ; +0x117, 0x14011e0b7\nmov     rax, [rdx]                                                     ; +0x119, 0x14011e0b9\nmov     rcx, rdx                                                       ; +0x11c, 0x14011e0bc\ncall    qword ptr [rax+200h]                                           ; +0x11f, 0x14011e0bf\nmov     rcx, cs:qword_14090BFD0                                        ; +0x125, 0x14011e0c5\ntest    rcx, rcx                                                       ; +0x12c, 0x14011e0cc\njnz     short loc_14011E103                                            ; +0x12f, 0x14011e0cf\nmov     ecx, 6E8h; Size                                                ; +0x131, 0x14011e0d1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x136, 0x14011e0d6\nmov     [rsp+28h+arg_10], rax                                          ; +0x13b, 0x14011e0db\nmov     rcx, rax                                                       ; +0x140, 0x14011e0e0\ncall    GameManager__GameManager                                       ; +0x143, 0x14011e0e3\nnop                                                                    ; +0x148, 0x14011e0e8\nmov     cs:qword_14090BFD0, rax                                        ; +0x149, 0x14011e0e9\nmov     rcx, [rax]                                                     ; +0x150, 0x14011e0f0\nmov     rdx, [rcx+48h]                                                 ; +0x153, 0x14011e0f3\nmov     rcx, rax                                                       ; +0x157, 0x14011e0f7\ncall    rdx                                                            ; +0x15a, 0x14011e0fa\nmov     rcx, cs:qword_14090BFD0                                        ; +0x15c, 0x14011e0fc\nmov     rax, [rcx+230h]                                                ; +0x163, 0x14011e103\nmov     [rax+888h], rbx                                                ; +0x16a, 0x14011e10a\nmov     rcx, [rcx+230h]                                                ; +0x171, 0x14011e111\nadd     rsp, 20h                                                       ; +0x178, 0x14011e118\npop     rbx                                                            ; +0x17c, 0x14011e11c\njmp     PlayLayer__dtLiveMarkersChanged                                ; +0x17d, 0x14011e11d\nadd     rsp, 20h                                                       ; +0x182, 0x14011e122\npop     rbx                                                            ; +0x186, 0x14011e126\nretn                                                                   ; +0x187, 0x14011e127", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011cf13", "<???> @ 0x140916490"], "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"}