{"type": "func", "start": 5369880160, "end": 5369880314, "name": "DeathMarkerSettingsPopup::onToggleLocal", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleLocal from 0x14011de60 to 0x14011defa (154 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011ce05\n// > <???> @ 0x140916478\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=3\n__int64 __fastcall DeathMarkerSettingsPopup::onToggleLocal(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // rcx\n  void *v3; // [rsp+40h] [rbp+18h]\n  void *v4; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_14090BFD0 )\n  {\n    v3 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  GameManager::toggleGameVariable(a1, \"0200\");\n  result = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v4 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    result = qword_14090BFD0;\n  }\n  v2 = *(_QWORD *)(result + 560);\n  if ( v2 )\n    return PlayLayer::dtLiveMarkersChanged(v2);\n  return result;\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onToggleLocal from 0x14011de60 to 0x14011defa (154 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011ce05\n; > <???> @ 0x140916478\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; \nsub     rsp, 28h                                                       ; +0x0, 0x14011de60\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x14011de64\njnz     short loc_14011DE96                                            ; +0xc, 0x14011de6c\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x14011de6e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x14011de73\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x14011de78\nmov     rcx, rax                                                       ; +0x1d, 0x14011de7d\ncall    GameManager__GameManager                                       ; +0x20, 0x14011de80\nnop                                                                    ; +0x25, 0x14011de85\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x14011de86\nmov     rdx, [rax]                                                     ; +0x2d, 0x14011de8d\nmov     rcx, rax                                                       ; +0x30, 0x14011de90\ncall    qword ptr [rdx+48h]                                            ; +0x33, 0x14011de93\nlea     rdx, a0200; \"0200\"                                             ; +0x36, 0x14011de96\ncall    GameManager__toggleGameVariable                                ; +0x3d, 0x14011de9d\nmov     rax, cs:qword_14090BFD0                                        ; +0x42, 0x14011dea2\ntest    rax, rax                                                       ; +0x49, 0x14011dea9\njnz     short loc_14011DEE0                                            ; +0x4c, 0x14011deac\nmov     ecx, 6E8h; Size                                                ; +0x4e, 0x14011deae\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x53, 0x14011deb3\nmov     [rsp+28h+arg_10], rax                                          ; +0x58, 0x14011deb8\nmov     rcx, rax                                                       ; +0x5d, 0x14011debd\ncall    GameManager__GameManager                                       ; +0x60, 0x14011dec0\nnop                                                                    ; +0x65, 0x14011dec5\nmov     cs:qword_14090BFD0, rax                                        ; +0x66, 0x14011dec6\nmov     rcx, [rax]                                                     ; +0x6d, 0x14011decd\nmov     rdx, [rcx+48h]                                                 ; +0x70, 0x14011ded0\nmov     rcx, rax                                                       ; +0x74, 0x14011ded4\ncall    rdx                                                            ; +0x77, 0x14011ded7\nmov     rax, cs:qword_14090BFD0                                        ; +0x79, 0x14011ded9\nmov     rcx, [rax+230h]                                                ; +0x80, 0x14011dee0\ntest    rcx, rcx                                                       ; +0x87, 0x14011dee7\njz      short loc_14011DEF5                                            ; +0x8a, 0x14011deea\nadd     rsp, 28h                                                       ; +0x8c, 0x14011deec\njmp     PlayLayer__dtLiveMarkersChanged                                ; +0x90, 0x14011def0\nadd     rsp, 28h                                                       ; +0x95, 0x14011def5\nretn                                                                   ; +0x99, 0x14011def9", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011ce05", "<???> @ 0x140916478"], "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"}