{"type": "func", "start": 7604220, "end": 7604368, "name": "ColorSelectPopup::colorValueChanged", "pseudocode": "// \n// ColorSelectPopup::colorValueChanged from 0x7407fc to 0x740890 (148 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'ColorSelectPopup::colorValueChanged @ 0x740894\n// > <???> @ 0x75e10\n// > <???> @ 0x11612e0\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 ColorSelectPopup::colorValueChanged(ColorSelectPopup *a1, cocos2d::ccColor3B a2)\n{\n  cocos2d::CCSprite *m_currentColorSprite; // x2\n  cocos2d::ccColor3B *p_m_currentColor; // [xsp+20h] [xbp+20h]\n  cocos2d::ccColor3B ColorValue; // 0:w0.3\n\n  if ( a1->m_currentColorSprite )\n  {\n    p_m_currentColor = &a1->m_currentColor;\n    ColorValue = ColorSelectPopup::getColorValue(a1);\n    a1->m_currentColor.r = ColorValue.r;\n    m_currentColorSprite = a1->m_currentColorSprite;\n    p_m_currentColor->g = ColorValue.g;\n    p_m_currentColor->b = ColorValue.b;\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_currentColorSprite->setColor)(m_currentColorSprite);\n    a1->m_originalColorSprite->setColor(a1->m_originalColorSprite, &a1->m_originalColor);\n    ColorSelectPopup::updateColorValue(a1);\n    ColorSelectPopup::updateColorLabels(a1);\n  }\n}", "assembly": "; \n; ColorSelectPopup::colorValueChanged from 0x7407fc to 0x740890 (148 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'ColorSelectPopup::colorValueChanged @ 0x740894\n; > <???> @ 0x75e10\n; > <???> @ 0x11612e0\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x7407fc\nMOV             X29, SP                                                ; +0x4, 0x740800\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x740804\nMOV             X19, X0                                                ; +0xc, 0x740808\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x10, 0x74080c\nLDR             X1, [X0,#0x418]                                        ; +0x14, 0x740810\nCBZ             X1, loc_740884                                         ; +0x18, 0x740814\nADD             X1, X0, #0x428                                         ; +0x1c, 0x740818\nSTR             X1, [X29,#0x30+var_10]                                 ; +0x20, 0x74081c\nBL              _ZN16ColorSelectPopup13getColorValueEv; ColorSelectPopup::getColorValue(void) ; +0x24, 0x740820\nSXTW            X0, W0                                                 ; +0x28, 0x740824\nLDR             X1, [X29,#0x30+var_10]                                 ; +0x2c, 0x740828\nUBFX            X3, X0, #8, #8                                         ; +0x30, 0x74082c\nSTRB            W0, [X19,#0x428]                                       ; +0x34, 0x740830\nUBFX            X0, X0, #0x10, #8                                      ; +0x38, 0x740834\nLDR             X2, [X19,#0x418]                                       ; +0x3c, 0x740838\nSTRB            W3, [X1,#1]                                            ; +0x40, 0x74083c\nSTRB            W0, [X1,#2]                                            ; +0x44, 0x740840\nMOV             X0, X2                                                 ; +0x48, 0x740844\nLDR             X2, [X2]                                               ; +0x4c, 0x740848\nLDR             X2, [X2,#0x3B0]                                        ; +0x50, 0x74084c\nBLR             X2                                                     ; +0x54, 0x740850\nLDR             X2, [X19,#0x420]                                       ; +0x58, 0x740854\nADD             X1, X19, #0x410                                        ; +0x5c, 0x740858\nMOV             X0, X2                                                 ; +0x60, 0x74085c\nLDR             X2, [X2]                                               ; +0x64, 0x740860\nLDR             X2, [X2,#0x3B0]                                        ; +0x68, 0x740864\nBLR             X2                                                     ; +0x6c, 0x740868\nMOV             X0, X19; this                                          ; +0x70, 0x74086c\nBL              _ZN16ColorSelectPopup16updateColorValueEv; ColorSelectPopup::updateColorValue(void) ; +0x74, 0x740870\nMOV             X0, X19; this                                          ; +0x78, 0x740874\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x7c, 0x740878\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x80, 0x74087c\nB               _ZN16ColorSelectPopup17updateColorLabelsEv; ColorSelectPopup::updateColorLabels(void) ; +0x84, 0x740880\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x88, 0x740884\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x8c, 0x740888\nRET                                                                    ; +0x90, 0x74088c", "xrefs": ["`non-virtual thunk to'ColorSelectPopup::colorValueChanged @ 0x740894", "<???> @ 0x75e10", "<???> @ 0x11612e0"], "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"}