{"type": "func", "start": 5369370272, "end": 5369370372, "name": "CharacterColorPage::toggleGlow", "pseudocode": "// \n// CharacterColorPage::toggleGlow from 0x1400a16a0 to 0x1400a1704 (100 bytes)\n// \n// 2 xrefs:\n// > CharacterColorPage::init @ 0x1400a133a\n// > <???> @ 0x1409130ac\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:06 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall CharacterColorPage::toggleGlow(__int64 a1)\n{\n  __int64 v2; // rdx\n  void *v4; // [rsp+40h] [rbp+18h]\n\n  v2 = 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    v2 = qword_14090BFD0;\n  }\n  *(_BYTE *)(v2 + 944) = *(_BYTE *)(v2 + 944) == 0;\n  return CharacterColorPage::updateIconColors(a1);\n}", "assembly": "; \n; CharacterColorPage::toggleGlow from 0x1400a16a0 to 0x1400a1704 (100 bytes)\n; \n; 2 xrefs:\n; > CharacterColorPage::init @ 0x1400a133a\n; > <???> @ 0x1409130ac\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:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400a16a0\nsub     rsp, 20h                                                       ; +0x2, 0x1400a16a2\nmov     rbx, rcx                                                       ; +0x6, 0x1400a16a6\nmov     rdx, cs:qword_14090BFD0                                        ; +0x9, 0x1400a16a9\ntest    rdx, rdx                                                       ; +0x10, 0x1400a16b0\njnz     short loc_1400A16E7                                            ; +0x13, 0x1400a16b3\nmov     ecx, 6E8h; Size                                                ; +0x15, 0x1400a16b5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1400a16ba\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x1400a16bf\nmov     rcx, rax                                                       ; +0x24, 0x1400a16c4\ncall    GameManager__GameManager                                       ; +0x27, 0x1400a16c7\nnop                                                                    ; +0x2c, 0x1400a16cc\nmov     cs:qword_14090BFD0, rax                                        ; +0x2d, 0x1400a16cd\nmov     rcx, [rax]                                                     ; +0x34, 0x1400a16d4\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1400a16d7\nmov     rcx, rax                                                       ; +0x3b, 0x1400a16db\ncall    rdx                                                            ; +0x3e, 0x1400a16de\nmov     rdx, cs:qword_14090BFD0                                        ; +0x40, 0x1400a16e0\ncmp     byte ptr [rdx+3B0h], 0                                         ; +0x47, 0x1400a16e7\nsetz    al                                                             ; +0x4e, 0x1400a16ee\nmov     [rdx+3B0h], al                                                 ; +0x51, 0x1400a16f1\nmov     rcx, rbx                                                       ; +0x57, 0x1400a16f7\nadd     rsp, 20h                                                       ; +0x5a, 0x1400a16fa\npop     rbx                                                            ; +0x5e, 0x1400a16fe\njmp     CharacterColorPage__updateIconColors                           ; +0x5f, 0x1400a16ff", "xrefs": ["CharacterColorPage::init @ 0x1400a133a", "<???> @ 0x1409130ac"], "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"}