{"type": "func", "start": 5369881200, "end": 5369881354, "name": "DeathMarkerSettingsPopup::onToggleLive", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleLive from 0x14011e270 to 0x14011e30a (154 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011cfe8\n// > <???> @ 0x1409164a8\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::onToggleLive(__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, \"0216\");\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::onToggleLive from 0x14011e270 to 0x14011e30a (154 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011cfe8\n; > <???> @ 0x1409164a8\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, 0x14011e270\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x14011e274\njnz     short loc_14011E2A6                                            ; +0xc, 0x14011e27c\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x14011e27e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x14011e283\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x14011e288\nmov     rcx, rax                                                       ; +0x1d, 0x14011e28d\ncall    GameManager__GameManager                                       ; +0x20, 0x14011e290\nnop                                                                    ; +0x25, 0x14011e295\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x14011e296\nmov     rdx, [rax]                                                     ; +0x2d, 0x14011e29d\nmov     rcx, rax                                                       ; +0x30, 0x14011e2a0\ncall    qword ptr [rdx+48h]                                            ; +0x33, 0x14011e2a3\nlea     rdx, a0216; \"0216\"                                             ; +0x36, 0x14011e2a6\ncall    GameManager__toggleGameVariable                                ; +0x3d, 0x14011e2ad\nmov     rax, cs:qword_14090BFD0                                        ; +0x42, 0x14011e2b2\ntest    rax, rax                                                       ; +0x49, 0x14011e2b9\njnz     short loc_14011E2F0                                            ; +0x4c, 0x14011e2bc\nmov     ecx, 6E8h; Size                                                ; +0x4e, 0x14011e2be\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x53, 0x14011e2c3\nmov     [rsp+28h+arg_10], rax                                          ; +0x58, 0x14011e2c8\nmov     rcx, rax                                                       ; +0x5d, 0x14011e2cd\ncall    GameManager__GameManager                                       ; +0x60, 0x14011e2d0\nnop                                                                    ; +0x65, 0x14011e2d5\nmov     cs:qword_14090BFD0, rax                                        ; +0x66, 0x14011e2d6\nmov     rcx, [rax]                                                     ; +0x6d, 0x14011e2dd\nmov     rdx, [rcx+48h]                                                 ; +0x70, 0x14011e2e0\nmov     rcx, rax                                                       ; +0x74, 0x14011e2e4\ncall    rdx                                                            ; +0x77, 0x14011e2e7\nmov     rax, cs:qword_14090BFD0                                        ; +0x79, 0x14011e2e9\nmov     rcx, [rax+230h]                                                ; +0x80, 0x14011e2f0\ntest    rcx, rcx                                                       ; +0x87, 0x14011e2f7\njz      short loc_14011E305                                            ; +0x8a, 0x14011e2fa\nadd     rsp, 28h                                                       ; +0x8c, 0x14011e2fc\njmp     PlayLayer__dtLiveMarkersChanged                                ; +0x90, 0x14011e300\nadd     rsp, 28h                                                       ; +0x95, 0x14011e305\nretn                                                                   ; +0x99, 0x14011e309", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011cfe8", "<???> @ 0x1409164a8"], "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"}