{"type": "func", "start": 8151164, "end": 8151276, "name": "EditorUI::onEditColor", "pseudocode": "// \n// EditorUI::onEditColor from 0x7c607c to 0x7c60ec (112 bytes)\n// \n// 4 xrefs:\n// > EditorUI::handleEditorAction @ 0xbd75b8\n// > <???> @ 0x7e7c0\n// > EditorUI::init @ 0x7d0398\n// > <???> @ 0x1543468\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:08 +0000\n// \n\n__int64 __fastcall EditorUI::onEditColor(EditorUI *this, cocos2d::CCObject *a2)\n{\n  __int64 result; // x0\n\n  result = EditorUI::editColorButtonUsable(this);\n  if ( (_BYTE)result )\n  {\n    if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 138) + 64LL))(*((_QWORD *)this + 138)) == 1 )\n      EditorUI::editHSV(this);\n    else\n      EditorUI::editColor((cocos2d::CCArray **)this);\n    return EditorUI::updateEditColorButton(this);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onEditColor from 0x7c607c to 0x7c60ec (112 bytes)\n; \n; 4 xrefs:\n; > EditorUI::handleEditorAction @ 0xbd75b8\n; > <???> @ 0x7e7c0\n; > EditorUI::init @ 0x7d0398\n; > <???> @ 0x1543468\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:08 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7c607c\nMOV             X29, SP                                                ; +0x4, 0x7c6080\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7c6084\nMOV             X19, X0                                                ; +0xc, 0x7c6088\nBL              _ZN8EditorUI21editColorButtonUsableEv; EditorUI::editColorButtonUsable(void) ; +0x10, 0x7c608c\nUXTB            W0, W0                                                 ; +0x14, 0x7c6090\nCBNZ            W0, loc_7C60A4                                         ; +0x18, 0x7c6094\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x7c6098\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x7c609c\nRET                                                                    ; +0x24, 0x7c60a0\nLDR             X1, [X19,#0x450]                                       ; +0x28, 0x7c60a4\nMOV             X0, X1                                                 ; +0x2c, 0x7c60a8\nLDR             X1, [X1]                                               ; +0x30, 0x7c60ac\nLDR             X1, [X1,#0x40]                                         ; +0x34, 0x7c60b0\nBLR             X1                                                     ; +0x38, 0x7c60b4\nCMP             W0, #1                                                 ; +0x3c, 0x7c60b8\nMOV             X0, X19; this                                          ; +0x40, 0x7c60bc\nB.EQ            loc_7C60D8                                             ; +0x44, 0x7c60c0\nBL              _ZN8EditorUI9editColorEv; EditorUI::editColor(void)    ; +0x48, 0x7c60c4\nMOV             X0, X19; this                                          ; +0x4c, 0x7c60c8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x7c60cc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x7c60d0\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x58, 0x7c60d4\nBL              _ZN8EditorUI7editHSVEv; EditorUI::editHSV(void)        ; +0x5c, 0x7c60d8\nMOV             X0, X19; this                                          ; +0x60, 0x7c60dc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x64, 0x7c60e0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x68, 0x7c60e4\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x6c, 0x7c60e8", "xrefs": ["EditorUI::handleEditorAction @ 0xbd75b8", "<???> @ 0x7e7c0", "EditorUI::init @ 0x7d0398", "<???> @ 0x1543468"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}