{"type": "func", "start": 5369879840, "end": 5369879913, "name": "DeathMarkerSettingsPopup::onToggleColor", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleColor from 0x14011dd20 to 0x14011dd69 (73 bytes)\n// \n// 2 xrefs:\n// > DeathMarkerSettingsPopup::init @ 0x14011ce71\n// > <???> @ 0x140916448\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::onToggleColor(__int64 a1)\n{\n  void *v2; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_14090BFD0 )\n  {\n    v2 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  return GameManager::toggleGameVariable(a1, \"0204\");\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onToggleColor from 0x14011dd20 to 0x14011dd69 (73 bytes)\n; \n; 2 xrefs:\n; > DeathMarkerSettingsPopup::init @ 0x14011ce71\n; > <???> @ 0x140916448\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, 0x14011dd20\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x14011dd24\njnz     short loc_14011DD59                                            ; +0xc, 0x14011dd2c\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x14011dd2e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x14011dd33\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x14011dd38\nmov     rcx, rax                                                       ; +0x1d, 0x14011dd3d\ncall    GameManager__GameManager                                       ; +0x20, 0x14011dd40\nnop                                                                    ; +0x25, 0x14011dd45\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x14011dd46\nmov     rcx, [rax]                                                     ; +0x2d, 0x14011dd4d\nmov     rdx, [rcx+48h]                                                 ; +0x30, 0x14011dd50\nmov     rcx, rax                                                       ; +0x34, 0x14011dd54\ncall    rdx                                                            ; +0x37, 0x14011dd57\nlea     rdx, a0204; \"0204\"                                             ; +0x39, 0x14011dd59\nadd     rsp, 28h                                                       ; +0x40, 0x14011dd60\njmp     GameManager__toggleGameVariable                                ; +0x44, 0x14011dd64", "xrefs": ["DeathMarkerSettingsPopup::init @ 0x14011ce71", "<???> @ 0x140916448"], "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"}