{"type": "func", "start": 6874304, "end": 6874416, "name": "EditorUI::onEditColor", "pseudocode": "// \n// EditorUI::onEditColor from 0x68e4c0 to 0x68e530 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x5c4f0\n// > EditorUI::init @ 0x6bd234\n// > <???> @ 0x122afc0\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 0x68e4c0 to 0x68e530 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x5c4f0\n; > EditorUI::init @ 0x6bd234\n; > <???> @ 0x122afc0\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_20]!                                ; +0x0, 0x68e4c0\nMOV             X29, SP                                                ; +0x4, 0x68e4c4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x68e4c8\nMOV             X19, X0                                                ; +0xc, 0x68e4cc\nBL              _ZN8EditorUI21editColorButtonUsableEv; EditorUI::editColorButtonUsable(void) ; +0x10, 0x68e4d0\nUXTB            W0, W0                                                 ; +0x14, 0x68e4d4\nCBNZ            W0, loc_68E4E8                                         ; +0x18, 0x68e4d8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x68e4dc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x68e4e0\nRET                                                                    ; +0x24, 0x68e4e4\nLDR             X1, [X19,#0x3E8]                                       ; +0x28, 0x68e4e8\nMOV             X0, X1                                                 ; +0x2c, 0x68e4ec\nLDR             X1, [X1]                                               ; +0x30, 0x68e4f0\nLDR             X1, [X1,#0x40]                                         ; +0x34, 0x68e4f4\nBLR             X1                                                     ; +0x38, 0x68e4f8\nCMP             W0, #1                                                 ; +0x3c, 0x68e4fc\nMOV             X0, X19; this                                          ; +0x40, 0x68e500\nB.EQ            loc_68E51C                                             ; +0x44, 0x68e504\nBL              _ZN8EditorUI9editColorEv; EditorUI::editColor(void)    ; +0x48, 0x68e508\nMOV             X0, X19; this                                          ; +0x4c, 0x68e50c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x68e510\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x68e514\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x58, 0x68e518\nBL              _ZN8EditorUI7editHSVEv; EditorUI::editHSV(void)        ; +0x5c, 0x68e51c\nMOV             X0, X19; this                                          ; +0x60, 0x68e520\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x64, 0x68e524\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x68, 0x68e528\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x6c, 0x68e52c", "xrefs": ["<???> @ 0x5c4f0", "EditorUI::init @ 0x6bd234", "<???> @ 0x122afc0"], "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"}