{"type": "func", "start": 8148624, "end": 8148684, "name": "EditorUI::editColorButtonUsable", "pseudocode": "// \n// EditorUI::editColorButtonUsable from 0x7c5690 to 0x7c56cc (60 bytes)\n// \n// 3 xrefs:\n// > EditorUI::updateEditColorButton @ 0x7c59a4\n// > EditorUI::onEditColor @ 0x7c608c\n// > <???> @ 0x73e70\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\nbool __fastcall EditorUI::editColorButtonUsable(EditorUI *this)\n{\n  return *((_QWORD *)this + 187) || (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) != 0;\n}", "assembly": "; \n; EditorUI::editColorButtonUsable from 0x7c5690 to 0x7c56cc (60 bytes)\n; \n; 3 xrefs:\n; > EditorUI::updateEditColorButton @ 0x7c59a4\n; > EditorUI::onEditColor @ 0x7c608c\n; > <???> @ 0x73e70\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,#-0x10+var_s0]!                          ; +0x0, 0x7c5690\nMOV             W1, #1                                                 ; +0x4, 0x7c5694\nMOV             X29, SP                                                ; +0x8, 0x7c5698\nLDR             X2, [X0,#0x5D8]                                        ; +0xc, 0x7c569c\nCBZ             X2, loc_7C56B0                                         ; +0x10, 0x7c56a0\nMOV             W0, W1                                                 ; +0x14, 0x7c56a4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x7c56a8\nRET                                                                    ; +0x1c, 0x7c56ac\nLDR             X0, [X0,#0x380]; this                                  ; +0x20, 0x7c56b0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x24, 0x7c56b4\nCMP             W0, WZR                                                ; +0x28, 0x7c56b8\nCSET            W1, NE                                                 ; +0x2c, 0x7c56bc\nMOV             W0, W1                                                 ; +0x30, 0x7c56c0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0x7c56c4\nRET                                                                    ; +0x38, 0x7c56c8", "xrefs": ["EditorUI::updateEditColorButton @ 0x7c59a4", "EditorUI::onEditColor @ 0x7c608c", "<???> @ 0x73e70"], "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"}