{"type": "func", "start": 4300645232, "end": 4300645315, "name": "ColorSelectLiveOverlay::updateOpacity", "pseudocode": "// \n// ColorSelectLiveOverlay::updateOpacity from 0x10056a370 to 0x10056a3c3 (83 bytes)\n// \n// 0 xrefs:\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\nvoid __fastcall ColorSelectLiveOverlay::updateOpacity(ColorSelectLiveOverlay *a1)\n{\n  EffectGameObject *m_effectGameObject; // rax\n  ColorAction *m_detailColorAction; // rax\n\n  if ( !a1->m_updateColor )\n  {\n    m_effectGameObject = a1->m_effectGameObject;\n    if ( m_effectGameObject )\n    {\n      m_effectGameObject->m_opacity = a1->m_opacity;\n    }\n    else\n    {\n      if ( a1->m_detailColorSelected )\n        m_detailColorAction = a1->m_detailColorAction;\n      else\n        m_detailColorAction = a1->m_baseColorAction;\n      m_detailColorAction->m_fromOpacity = a1->m_opacity;\n    }\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::updateOpacity from 0x10056a370 to 0x10056a3c3 (83 bytes)\n; \n; 0 xrefs:\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\ncmp     byte ptr [rdi+2CAh], 0                                         ; +0x0, 0x10056a370\njnz     short locret_10056A3C2                                         ; +0x7, 0x10056a377\npush    rbp                                                            ; +0x9, 0x10056a379\nmov     rbp, rsp                                                       ; +0xa, 0x10056a37a\nmov     rax, [rdi+278h]                                                ; +0xd, 0x10056a37d\ntest    rax, rax                                                       ; +0x14, 0x10056a384\njz      short loc_10056A39B                                            ; +0x17, 0x10056a387\nmovss   xmm0, dword ptr [rdi+2B8h]                                     ; +0x19, 0x10056a389\nmovss   dword ptr [rax+5B0h], xmm0                                     ; +0x21, 0x10056a391\njmp     short loc_10056A3C1                                            ; +0x29, 0x10056a399\nmovss   xmm0, dword ptr [rdi+2B8h]                                     ; +0x2b, 0x10056a39b\ncmp     byte ptr [rdi+338h], 1                                         ; +0x33, 0x10056a3a3\njnz     short loc_10056A3B5                                            ; +0x3a, 0x10056a3aa\nmov     rax, [rdi+298h]                                                ; +0x3c, 0x10056a3ac\njmp     short loc_10056A3BC                                            ; +0x43, 0x10056a3b3\nmov     rax, [rdi+290h]                                                ; +0x45, 0x10056a3b5\nmovss   dword ptr [rax+60h], xmm0                                      ; +0x4c, 0x10056a3bc\npop     rbp                                                            ; +0x51, 0x10056a3c1\nretn                                                                   ; +0x52, 0x10056a3c2", "xrefs": [], "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"}