{"type": "func", "start": 5369269744, "end": 5369269905, "name": "CharacterColorPage::toggleGlow", "pseudocode": "// \n// CharacterColorPage::toggleGlow from 0x140088df0 to 0x140088e91 (161 bytes)\n// \n// 2 xrefs:\n// > CharacterColorPage::init @ 0x140088aaa\n// > <???> @ 0x1406c6ce4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=2\nvoid CharacterColorPage::toggleGlow(CharacterColorPage *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rbx\n  void *v5; // [rsp+40h] [rbp+18h]\n  void *v6; // [rsp+40h] [rbp+18h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v5 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  v4 = v3;\n  if ( !v3 )\n  {\n    v6 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  *(_BYTE *)(v3 + 904) = *(_BYTE *)(v4 + 904) == 0;\n  CharacterColorPage::updateIconColors(a1);\n}", "assembly": "; \n; CharacterColorPage::toggleGlow from 0x140088df0 to 0x140088e91 (161 bytes)\n; \n; 2 xrefs:\n; > CharacterColorPage::init @ 0x140088aaa\n; > <???> @ 0x1406c6ce4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140088df0\npush    rdi                                                            ; +0x5, 0x140088df5\nsub     rsp, 20h                                                       ; +0x6, 0x140088df6\nmov     rdi, rcx                                                       ; +0xa, 0x140088dfa\nmov     rdx, cs:qword_1406C2ED8                                        ; +0xd, 0x140088dfd\ntest    rdx, rdx                                                       ; +0x14, 0x140088e04\njnz     short loc_140088E38                                            ; +0x17, 0x140088e07\nmov     ecx, 668h; Size                                                ; +0x19, 0x140088e09\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x140088e0e\nmov     [rsp+28h+arg_10], rax                                          ; +0x23, 0x140088e13\nmov     rcx, rax                                                       ; +0x28, 0x140088e18\ncall    sub_14017AB00                                                  ; +0x2b, 0x140088e1b\nnop                                                                    ; +0x30, 0x140088e20\nmov     cs:qword_1406C2ED8, rax                                        ; +0x31, 0x140088e21\nmov     rdx, [rax]                                                     ; +0x38, 0x140088e28\nmov     rcx, rax                                                       ; +0x3b, 0x140088e2b\ncall    qword ptr [rdx+48h]                                            ; +0x3e, 0x140088e2e\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x41, 0x140088e31\nmov     rbx, rdx                                                       ; +0x48, 0x140088e38\ntest    rdx, rdx                                                       ; +0x4b, 0x140088e3b\njnz     short loc_140088E6F                                            ; +0x4e, 0x140088e3e\nmov     ecx, 668h; Size                                                ; +0x50, 0x140088e40\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x55, 0x140088e45\nmov     [rsp+28h+arg_10], rax                                          ; +0x5a, 0x140088e4a\nmov     rcx, rax                                                       ; +0x5f, 0x140088e4f\ncall    sub_14017AB00                                                  ; +0x62, 0x140088e52\nnop                                                                    ; +0x67, 0x140088e57\nmov     cs:qword_1406C2ED8, rax                                        ; +0x68, 0x140088e58\nmov     rdx, [rax]                                                     ; +0x6f, 0x140088e5f\nmov     rcx, rax                                                       ; +0x72, 0x140088e62\ncall    qword ptr [rdx+48h]                                            ; +0x75, 0x140088e65\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x78, 0x140088e68\ncmp     byte ptr [rbx+388h], 0                                         ; +0x7f, 0x140088e6f\nsetz    al                                                             ; +0x86, 0x140088e76\nmov     [rdx+388h], al                                                 ; +0x89, 0x140088e79\nmov     rcx, rdi                                                       ; +0x8f, 0x140088e7f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x92, 0x140088e82\nadd     rsp, 20h                                                       ; +0x97, 0x140088e87\npop     rdi                                                            ; +0x9b, 0x140088e8b\njmp     CharacterColorPage__updateIconColors                           ; +0x9c, 0x140088e8c", "xrefs": ["CharacterColorPage::init @ 0x140088aaa", "<???> @ 0x1406c6ce4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}