{"type": "func", "start": 5039046, "end": 5039116, "name": "ColorSelectLiveOverlay::updateColorValue", "pseudocode": "// \n// ColorSelectLiveOverlay::updateColorValue from 0x4ce3c6 to 0x4ce40c (70 bytes)\n// \n// 1 xrefs:\n// > ColorSelectLiveOverlay::sliderChanged @ 0x4ce5e4\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 ColorSelectLiveOverlay::updateColorValue(ColorSelectLiveOverlay *a1)\n{\n  EffectGameObject *m_effectGameObject; // r3\n  GLubyte r; // r4\n  GLubyte g; // r1\n  GLubyte b; // r2\n  ColorAction *m_detailColorAction; // r3\n\n  if ( !a1->m_updateColor )\n  {\n    m_effectGameObject = a1->m_effectGameObject;\n    r = a1->m_targetColor.r;\n    g = a1->m_targetColor.g;\n    b = a1->m_targetColor.b;\n    if ( m_effectGameObject )\n    {\n      m_effectGameObject->m_triggerTargetColor.r = r;\n      m_effectGameObject->m_triggerTargetColor.g = g;\n      m_effectGameObject->m_triggerTargetColor.b = b;\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_fromColor.r = r;\n      m_detailColorAction->m_fromColor.g = g;\n      m_detailColorAction->m_fromColor.b = b;\n    }\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::updateColorValue from 0x4ce3c6 to 0x4ce40c (70 bytes)\n; \n; 1 xrefs:\n; > ColorSelectLiveOverlay::sliderChanged @ 0x4ce5e4\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\nLDRB.W          R3, [R0,#0x226]                                        ; +0x0, 0x4ce3c6\nPUSH            {R4,LR}                                                ; +0x4, 0x4ce3ca\nCBNZ            R3, locret_4CE40A                                      ; +0x6, 0x4ce3cc\nLDR.W           R3, [R0,#0x1F0]                                        ; +0x8, 0x4ce3ce\nLDRB.W          R4, [R0,#0x20A]                                        ; +0xc, 0x4ce3d2\nLDRB.W          R1, [R0,#0x20B]                                        ; +0x10, 0x4ce3d6\nLDRB.W          R2, [R0,#0x20C]                                        ; +0x14, 0x4ce3da\nCBZ             R3, loc_4CE3EE                                         ; +0x18, 0x4ce3de\nSTRB.W          R4, [R3,#0x4EC]                                        ; +0x1a, 0x4ce3e0\nSTRB.W          R1, [R3,#0x4ED]                                        ; +0x1e, 0x4ce3e4\nSTRB.W          R2, [R3,#0x4EE]                                        ; +0x22, 0x4ce3e8\nPOP             {R4,PC}                                                ; +0x26, 0x4ce3ec\nLDRB.W          R3, [R0,#0x26C]                                        ; +0x28, 0x4ce3ee\nCBZ             R3, loc_4CE3FA                                         ; +0x2c, 0x4ce3f2\nLDR.W           R3, [R0,#0x200]                                        ; +0x2e, 0x4ce3f4\nB               loc_4CE3FE                                             ; +0x32, 0x4ce3f8\nLDR.W           R3, [R0,#0x1FC]                                        ; +0x34, 0x4ce3fa\nSTRB.W          R4, [R3,#0x44]                                         ; +0x38, 0x4ce3fe\nSTRB.W          R1, [R3,#0x45]                                         ; +0x3c, 0x4ce402\nSTRB.W          R2, [R3,#0x46]                                         ; +0x40, 0x4ce406\nPOP             {R4,PC}                                                ; +0x44, 0x4ce40a", "xrefs": ["ColorSelectLiveOverlay::sliderChanged @ 0x4ce5e4"], "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"}