{"type": "func", "start": 4303388368, "end": 4303388531, "name": "ColorSelectPopup::updateOpacity", "pseudocode": "// \n// ColorSelectPopup::updateOpacity from 0x100807ed0 to 0x100807f73 (163 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:36:40 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::updateOpacity(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  unsigned int v4; // r14d\n\n  result = *(_QWORD *)(a1 + 680);\n  if ( result )\n  {\n    *(_DWORD *)(result + 1456) = *(_DWORD *)(a1 + 1140);\n  }\n  else\n  {\n    v3 = *(_QWORD *)(a1 + 688);\n    if ( v3 )\n    {\n      result = sub_1007FEF90(v3);\n      if ( (_DWORD)result )\n      {\n        v4 = 0;\n        do\n        {\n          *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v4++) + 1456) = *(_DWORD *)(a1 + 1140);\n          result = sub_1007FEF90(*(_QWORD *)(a1 + 688));\n        }\n        while ( v4 < (unsigned int)result );\n      }\n    }\n    else\n    {\n      result = *(_QWORD *)(a1 + 1144);\n      if ( result )\n        *(_DWORD *)(result + 96) = *(_DWORD *)(a1 + 1140);\n    }\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::updateOpacity from 0x100807ed0 to 0x100807f73 (163 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:36:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100807ed0\nmov     rbp, rsp                                                       ; +0x1, 0x100807ed1\npush    r14                                                            ; +0x4, 0x100807ed4\npush    rbx                                                            ; +0x6, 0x100807ed6\nmov     rbx, rdi                                                       ; +0x7, 0x100807ed7\nmov     rax, [rdi+2A8h]                                                ; +0xa, 0x100807eda\ntest    rax, rax                                                       ; +0x11, 0x100807ee1\njz      short loc_100807EFB                                            ; +0x14, 0x100807ee4\nmovss   xmm0, dword ptr [rbx+474h]                                     ; +0x16, 0x100807ee6\nmovss   dword ptr [rax+5B0h], xmm0                                     ; +0x1e, 0x100807eee\npop     rbx                                                            ; +0x26, 0x100807ef6\npop     r14                                                            ; +0x27, 0x100807ef7\npop     rbp                                                            ; +0x29, 0x100807ef9\nretn                                                                   ; +0x2a, 0x100807efa\nmov     rdi, [rbx+2B0h]                                                ; +0x2b, 0x100807efb\ntest    rdi, rdi                                                       ; +0x32, 0x100807f02\njz      short loc_100807F55                                            ; +0x35, 0x100807f05\ncall    sub_1007FEF90                                                  ; +0x37, 0x100807f07\ntest    eax, eax                                                       ; +0x3c, 0x100807f0c\njz      short loc_100807EF6                                            ; +0x3e, 0x100807f0e\nxor     r14d, r14d                                                     ; +0x40, 0x100807f10\nnop     word ptr [rax+rax+00000000h]                                   ; +0x43, 0x100807f13\nmov     rdi, [rbx+2B0h]                                                ; +0x50, 0x100807f20\nmov     esi, r14d                                                      ; +0x57, 0x100807f27\ncall    sub_1007FEFE0                                                  ; +0x5a, 0x100807f2a\nmovss   xmm0, dword ptr [rbx+474h]                                     ; +0x5f, 0x100807f2f\nmovss   dword ptr [rax+5B0h], xmm0                                     ; +0x67, 0x100807f37\ninc     r14d                                                           ; +0x6f, 0x100807f3f\nmov     rdi, [rbx+2B0h]                                                ; +0x72, 0x100807f42\ncall    sub_1007FEF90                                                  ; +0x79, 0x100807f49\ncmp     r14d, eax                                                      ; +0x7e, 0x100807f4e\njb      short loc_100807F20                                            ; +0x81, 0x100807f51\njmp     short loc_100807EF6                                            ; +0x83, 0x100807f53\nmov     rax, [rbx+478h]                                                ; +0x85, 0x100807f55\ntest    rax, rax                                                       ; +0x8c, 0x100807f5c\njz      short loc_100807EF6                                            ; +0x8f, 0x100807f5f\nmovss   xmm0, dword ptr [rbx+474h]                                     ; +0x91, 0x100807f61\nmovss   dword ptr [rax+60h], xmm0                                      ; +0x99, 0x100807f69\npop     rbx                                                            ; +0x9e, 0x100807f6e\npop     r14                                                            ; +0x9f, 0x100807f6f\npop     rbp                                                            ; +0xa1, 0x100807f71\nretn                                                                   ; +0xa2, 0x100807f72", "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"}