{"type": "func", "start": 5369880320, "end": 5369880474, "name": "DeathMarkerSettingsPopup::onToggleGlobal", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleGlobal from 0x14011df00 to 0x14011df9a (154 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011ce3b\n// > <???> @ 0x140916484\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__int64 __fastcall DeathMarkerSettingsPopup::onToggleGlobal(__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, \"0202\");\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::onToggleGlobal from 0x14011df00 to 0x14011df9a (154 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011ce3b\n; > <???> @ 0x140916484\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, 0x14011df00\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x14011df04\njnz     short loc_14011DF36                                            ; +0xc, 0x14011df0c\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x14011df0e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x14011df13\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x14011df18\nmov     rcx, rax                                                       ; +0x1d, 0x14011df1d\ncall    GameManager__GameManager                                       ; +0x20, 0x14011df20\nnop                                                                    ; +0x25, 0x14011df25\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x14011df26\nmov     rdx, [rax]                                                     ; +0x2d, 0x14011df2d\nmov     rcx, rax                                                       ; +0x30, 0x14011df30\ncall    qword ptr [rdx+48h]                                            ; +0x33, 0x14011df33\nlea     rdx, a0202; \"0202\"                                             ; +0x36, 0x14011df36\ncall    GameManager__toggleGameVariable                                ; +0x3d, 0x14011df3d\nmov     rax, cs:qword_14090BFD0                                        ; +0x42, 0x14011df42\ntest    rax, rax                                                       ; +0x49, 0x14011df49\njnz     short loc_14011DF80                                            ; +0x4c, 0x14011df4c\nmov     ecx, 6E8h; Size                                                ; +0x4e, 0x14011df4e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x53, 0x14011df53\nmov     [rsp+28h+arg_10], rax                                          ; +0x58, 0x14011df58\nmov     rcx, rax                                                       ; +0x5d, 0x14011df5d\ncall    GameManager__GameManager                                       ; +0x60, 0x14011df60\nnop                                                                    ; +0x65, 0x14011df65\nmov     cs:qword_14090BFD0, rax                                        ; +0x66, 0x14011df66\nmov     rcx, [rax]                                                     ; +0x6d, 0x14011df6d\nmov     rdx, [rcx+48h]                                                 ; +0x70, 0x14011df70\nmov     rcx, rax                                                       ; +0x74, 0x14011df74\ncall    rdx                                                            ; +0x77, 0x14011df77\nmov     rax, cs:qword_14090BFD0                                        ; +0x79, 0x14011df79\nmov     rcx, [rax+230h]                                                ; +0x80, 0x14011df80\ntest    rcx, rcx                                                       ; +0x87, 0x14011df87\njz      short loc_14011DF95                                            ; +0x8a, 0x14011df8a\nadd     rsp, 28h                                                       ; +0x8c, 0x14011df8c\njmp     PlayLayer__dtLiveMarkersChanged                                ; +0x90, 0x14011df90\nadd     rsp, 28h                                                       ; +0x95, 0x14011df95\nretn                                                                   ; +0x99, 0x14011df99", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011ce3b", "<???> @ 0x140916484"], "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"}