{"type": "func", "start": 6867320, "end": 6867380, "name": "EditorUI::editColorButtonUsable", "pseudocode": "// \n// EditorUI::editColorButtonUsable from 0x68c978 to 0x68c9b4 (60 bytes)\n// \n// 3 xrefs:\n// > EditorUI::updateEditColorButton @ 0x68cc8c\n// > EditorUI::onEditColor @ 0x68e4d0\n// > <???> @ 0x538b0\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\nbool EditorUI::editColorButtonUsable(EditorUI *a1)\n{\n  return a1->m_selectedObject || (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) != 0;\n}", "assembly": "; \n; EditorUI::editColorButtonUsable from 0x68c978 to 0x68c9b4 (60 bytes)\n; \n; 3 xrefs:\n; > EditorUI::updateEditColorButton @ 0x68cc8c\n; > EditorUI::onEditColor @ 0x68e4d0\n; > <???> @ 0x538b0\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,#-0x10+var_s0]!                          ; +0x0, 0x68c978\nMOV             W1, #1                                                 ; +0x4, 0x68c97c\nMOV             X29, SP                                                ; +0x8, 0x68c980\nLDR             X2, [X0,#0x530]                                        ; +0xc, 0x68c984\nCBZ             X2, loc_68C998                                         ; +0x10, 0x68c988\nMOV             W0, W1                                                 ; +0x14, 0x68c98c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x68c990\nRET                                                                    ; +0x1c, 0x68c994\nLDR             X0, [X0,#0x338]; this                                  ; +0x20, 0x68c998\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x24, 0x68c99c\nCMP             W0, WZR                                                ; +0x28, 0x68c9a0\nCSET            W1, NE                                                 ; +0x2c, 0x68c9a4\nMOV             W0, W1                                                 ; +0x30, 0x68c9a8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0x68c9ac\nRET                                                                    ; +0x38, 0x68c9b0", "xrefs": ["EditorUI::updateEditColorButton @ 0x68cc8c", "EditorUI::onEditColor @ 0x68e4d0", "<???> @ 0x538b0"], "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"}