{"type": "func", "start": 3672520, "end": 3672568, "name": "EditorUI::onEditColor", "pseudocode": "// \n// EditorUI::onEditColor from 0x3809c8 to 0x3809f8 (48 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 EditorUI::onEditColor(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  if ( EditorUI::editColorButtonUsable(a1) )\n  {\n    if ( a1->m_editHSVBtn->getTag(a1->m_editHSVBtn) == 1 )\n      EditorUI::editHSV(a1);\n    else\n      EditorUI::editColor(a1);\n    EditorUI::updateEditColorButton(a1);\n  }\n}", "assembly": "; \n; EditorUI::onEditColor from 0x3809c8 to 0x3809f8 (48 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\nPUSH            {R4,LR}                                                ; +0x0, 0x3809c8\nMOV             R4, R0                                                 ; +0x2, 0x3809ca\nBL              _ZN8EditorUI21editColorButtonUsableEv; EditorUI::editColorButtonUsable(void) ; +0x4, 0x3809cc\nCBZ             R0, locret_3809F6                                      ; +0x8, 0x3809d0\nLDR.W           R0, [R4,#0x2B8]                                        ; +0xa, 0x3809d2\nLDR             R3, [R0]                                               ; +0xe, 0x3809d6\nLDR             R3, [R3,#0x20]                                         ; +0x10, 0x3809d8\nBLX             R3                                                     ; +0x12, 0x3809da\nCMP             R0, #1                                                 ; +0x14, 0x3809dc\nMOV             R0, R4; this                                           ; +0x16, 0x3809de\nBNE             loc_3809E8                                             ; +0x18, 0x3809e0\nBL              _ZN8EditorUI7editHSVEv; EditorUI::editHSV(void)        ; +0x1a, 0x3809e2\nB               loc_3809EC                                             ; +0x1e, 0x3809e6\nBL              _ZN8EditorUI9editColorEv; EditorUI::editColor(void)    ; +0x20, 0x3809e8\nMOV             R0, R4; this                                           ; +0x24, 0x3809ec\nPOP.W           {R4,LR}                                                ; +0x26, 0x3809ee\nB.W             _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x2a, 0x3809f2\nPOP             {R4,PC}                                                ; +0x2e, 0x3809f6", "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"}