{"type": "func", "start": 4039198, "end": 4039226, "name": "ColorSelectPopup::selectColor", "pseudocode": "// \n// ColorSelectPopup::selectColor from 0x3da21e to 0x3da23a (28 bytes)\n// \n// 4 xrefs:\n// > ColorSelectPopup::onPaste @ 0x3da25e\n// > ColorSelectPopup::onDefault @ 0x3da2d0\n// > ColorSelectPopup::init @ 0x3dadfa\n// > ColorSelectPopup::textChanged @ 0x3dd1ba\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::selectColor(ColorSelectPopup *a1, cocos2d::ccColor3B a2)\n{\n  int v2; // [sp+4h] [bp-8h] BYREF\n\n  v2 = *(_DWORD *)&a2.r;\n  a1->m_colorPicker->setColorValue(a1->m_colorPicker, (const cocos2d::ccColor3B *)&v2);\n}", "assembly": "; \n; ColorSelectPopup::selectColor from 0x3da21e to 0x3da23a (28 bytes)\n; \n; 4 xrefs:\n; > ColorSelectPopup::onPaste @ 0x3da25e\n; > ColorSelectPopup::onDefault @ 0x3da2d0\n; > ColorSelectPopup::init @ 0x3dadfa\n; > ColorSelectPopup::textChanged @ 0x3dd1ba\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\nPUSH            {R0-R2,LR}                                             ; +0x0, 0x3da21e\nADD             R3, SP, #0xC+var_4                                     ; +0x2, 0x3da220\nSTR.W           R1, [R3,#-4]!                                          ; +0x4, 0x3da222\nMOV             R1, R3                                                 ; +0x8, 0x3da226\nLDR.W           R0, [R0,#0x2B0]                                        ; +0xa, 0x3da228\nLDR             R2, [R0]                                               ; +0xe, 0x3da22c\nLDR.W           R2, [R2,#0x2A0]                                        ; +0x10, 0x3da22e\nBLX             R2                                                     ; +0x14, 0x3da232\nADD             SP, SP, #0xC                                           ; +0x16, 0x3da234\nPOP.W           {PC}                                                   ; +0x18, 0x3da236", "xrefs": ["ColorSelectPopup::onPaste @ 0x3da25e", "ColorSelectPopup::onDefault @ 0x3da2d0", "ColorSelectPopup::init @ 0x3dadfa", "ColorSelectPopup::textChanged @ 0x3dd1ba"], "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"}