{"type": "func", "start": 4302321088, "end": 4302321269, "name": "GJSpecialColorSelect::highlightSelected", "pseudocode": "// \n// GJSpecialColorSelect::highlightSelected from 0x1007035c0 to 0x100703675 (181 bytes)\n// \n// 0 xrefs:\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 12:35:59 +0000\n// \n\nvoid __fastcall GJSpecialColorSelect::highlightSelected(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // r15d\n  __int64 v3; // r12\n  const char *v4; // rsi\n\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 680)) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 680), v2);\n      v4 = \"GJ_button_04.png\";\n      if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3) == 1008 )\n        v4 = \"GJ_button_05.png\";\n      ButtonSprite::updateBGImage(v3, (__int64)v4);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 680)) );\n  }\n  if ( a2 )\n    ButtonSprite::updateBGImage(a2, (__int64)\"GJ_button_02.png\");\n}", "assembly": "; \n; GJSpecialColorSelect::highlightSelected from 0x1007035c0 to 0x100703675 (181 bytes)\n; \n; 0 xrefs:\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 12:35:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x1007035c0\nmov     rbp, rsp                                                       ; +0x1, 0x1007035c1\npush    r15                                                            ; +0x4, 0x1007035c4\npush    r14                                                            ; +0x6, 0x1007035c6\npush    r13                                                            ; +0x8, 0x1007035c8\npush    r12                                                            ; +0xa, 0x1007035ca\npush    rbx                                                            ; +0xc, 0x1007035cc\npush    rax                                                            ; +0xd, 0x1007035cd\nmov     [rbp+var_30], rsi                                              ; +0xe, 0x1007035ce\nmov     r14, rdi                                                       ; +0x12, 0x1007035d2\nmov     rdi, [rdi+2A8h]                                                ; +0x15, 0x1007035d5\ncall    sub_1007FEF90                                                  ; +0x1c, 0x1007035dc\ntest    eax, eax                                                       ; +0x21, 0x1007035e1\njz      short loc_100703643                                            ; +0x23, 0x1007035e3\nxor     r15d, r15d                                                     ; +0x25, 0x1007035e5\nlea     r13, aGjButton05Png; \"GJ_button_05.png\"                        ; +0x28, 0x1007035e8\nlea     rbx, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x2f, 0x1007035ef\nnop     word ptr [rax+rax+00000000h]                                   ; +0x36, 0x1007035f6\nmov     rdi, [r14+2A8h]                                                ; +0x40, 0x100703600\nmov     esi, r15d                                                      ; +0x47, 0x100703607\ncall    sub_1007FEFE0                                                  ; +0x4a, 0x10070360a\nmov     r12, rax                                                       ; +0x4f, 0x10070360f\nmov     rax, [rax]                                                     ; +0x52, 0x100703612\nmov     rdi, r12                                                       ; +0x55, 0x100703615\ncall    qword ptr [rax+40h]                                            ; +0x58, 0x100703618\ncmp     eax, 3F0h                                                      ; +0x5b, 0x10070361b\nmov     rsi, rbx                                                       ; +0x60, 0x100703620\ncmovz   rsi, r13                                                       ; +0x63, 0x100703623\nmov     rdi, r12                                                       ; +0x67, 0x100703627\ncall    ButtonSprite__updateBGImage                                    ; +0x6a, 0x10070362a\ninc     r15d                                                           ; +0x6f, 0x10070362f\nmov     rdi, [r14+2A8h]                                                ; +0x72, 0x100703632\ncall    sub_1007FEF90                                                  ; +0x79, 0x100703639\ncmp     r15d, eax                                                      ; +0x7e, 0x10070363e\njb      short loc_100703600                                            ; +0x81, 0x100703641\nmov     rdi, [rbp+var_30]                                              ; +0x83, 0x100703643\ntest    rdi, rdi                                                       ; +0x87, 0x100703647\njz      short loc_100703666                                            ; +0x8a, 0x10070364a\nlea     rsi, aGjButton02Png; \"GJ_button_02.png\"                        ; +0x8c, 0x10070364c\nadd     rsp, 8                                                         ; +0x93, 0x100703653\npop     rbx                                                            ; +0x97, 0x100703657\npop     r12                                                            ; +0x98, 0x100703658\npop     r13                                                            ; +0x9a, 0x10070365a\npop     r14                                                            ; +0x9c, 0x10070365c\npop     r15                                                            ; +0x9e, 0x10070365e\npop     rbp                                                            ; +0xa0, 0x100703660\njmp     ButtonSprite__updateBGImage                                    ; +0xa1, 0x100703661\nadd     rsp, 8                                                         ; +0xa6, 0x100703666\npop     rbx                                                            ; +0xaa, 0x10070366a\npop     r12                                                            ; +0xab, 0x10070366b\npop     r13                                                            ; +0xad, 0x10070366d\npop     r14                                                            ; +0xaf, 0x10070366f\npop     r15                                                            ; +0xb1, 0x100703671\npop     rbp                                                            ; +0xb3, 0x100703673\nretn                                                                   ; +0xb4, 0x100703674", "xrefs": [], "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"}