{"type": "func", "start": 4039676, "end": 4039720, "name": "ColorSelectPopup::getColorValue", "pseudocode": "// \n// ColorSelectPopup::getColorValue from 0x3da3fc to 0x3da428 (44 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::onCopy @ 0x3da434\n// > ColorSelectPopup::show @ 0x3da45a\n// > ColorSelectPopup::colorValueChanged @ 0x3dcb14\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\ncocos2d::ccColor3B ColorSelectPopup::getColorValue(ColorSelectPopup *a1)\n{\n  return (cocos2d::ccColor3B)((unsigned __int8)*(_WORD *)&a1->m_colorPicker->m_rgb.r\n                            | (unsigned __int16)((unsigned __int8)HIBYTE(*(_WORD *)&a1->m_colorPicker->m_rgb.r) << 8)\n                            | (a1->m_colorPicker->m_rgb.b << 16));\n}", "assembly": "; \n; ColorSelectPopup::getColorValue from 0x3da3fc to 0x3da428 (44 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::onCopy @ 0x3da434\n; > ColorSelectPopup::show @ 0x3da45a\n; > ColorSelectPopup::colorValueChanged @ 0x3dcb14\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\nLDR.W           R3, [R0,#0x2B0]                                        ; +0x0, 0x3da3fc\nSUB             SP, SP, #8                                             ; +0x4, 0x3da400\nMOVS            R0, #0                                                 ; +0x6, 0x3da402\nADD.W           R3, R3, #0x170                                         ; +0x8, 0x3da404\nLDRH            R2, [R3]                                               ; +0xc, 0x3da408\nLDRB            R3, [R3,#2]                                            ; +0xe, 0x3da40a\nSTRH.W          R2, [SP,#8+var_4]                                      ; +0x10, 0x3da40c\nLDRB.W          R2, [SP,#8+var_4]                                      ; +0x14, 0x3da410\nBFI.W           R0, R2, #0, #8                                         ; +0x18, 0x3da414\nLDRB.W          R2, [SP,#8+var_4+1]                                    ; +0x1c, 0x3da418\nBFI.W           R0, R2, #8, #8                                         ; +0x20, 0x3da41c\nBFI.W           R0, R3, #0x10, #8                                      ; +0x24, 0x3da420\nADD             SP, SP, #8                                             ; +0x28, 0x3da424\nBX              LR                                                     ; +0x2a, 0x3da426", "xrefs": ["ColorSelectPopup::onCopy @ 0x3da434", "ColorSelectPopup::show @ 0x3da45a", "ColorSelectPopup::colorValueChanged @ 0x3dcb14"], "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"}