{"type": "func", "start": 7588592, "end": 7588872, "name": "ColorSelectPopup::updateHSVMode", "pseudocode": "// \n// ColorSelectPopup::updateHSVMode from 0x73caf0 to 0x73cc08 (280 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::init @ 0x73d7f4\n// > ColorSelectPopup::onToggleHSVMode @ 0x73fe3c\n// > <???> @ 0xac950\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 ColorSelectPopup::updateHSVMode(ColorSelectPopup *a1)\n{\n  unsigned int v2; // w20\n  __int64 v3; // x0\n  bool v4; // cf\n  unsigned int v5; // w1\n  unsigned int v6; // w20\n  __int64 v7; // x0\n  unsigned int v8; // w1\n\n  v2 = 0;\n  while ( 1 )\n  {\n    v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_colorObjects);\n    v5 = v2++;\n    if ( v4 )\n      break;\n    v3 = cocos2d::CCArray::objectAtIndex(a1->m_colorObjects, v5);\n    (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, !a1->m_showCopyObjects);\n  }\n  v6 = 0;\n  while ( 1 )\n  {\n    v4 = v6 >= (unsigned int)cocos2d::CCArray::count(a1->m_copyObjects);\n    v8 = v6++;\n    if ( v4 )\n      break;\n    v7 = cocos2d::CCArray::objectAtIndex(a1->m_copyObjects, v8);\n    (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v7 + 328LL))(v7, a1->m_showCopyObjects);\n  }\n  a1->m_copyColorInput->setTouchEnabled(a1->m_copyColorInput, a1->m_showCopyObjects);\n  a1->m_rInput->setTouchEnabled(a1->m_rInput, !a1->m_showCopyObjects);\n  a1->m_gInput->setTouchEnabled(a1->m_gInput, !a1->m_showCopyObjects);\n  a1->m_bInput->setTouchEnabled(a1->m_bInput, !a1->m_showCopyObjects);\n  a1->m_hexInput->setTouchEnabled(a1->m_hexInput, !a1->m_showCopyObjects);\n}", "assembly": "; \n; ColorSelectPopup::updateHSVMode from 0x73caf0 to 0x73cc08 (280 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::init @ 0x73d7f4\n; > ColorSelectPopup::onToggleHSVMode @ 0x73fe3c\n; > <???> @ 0xac950\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,#-0x20+var_s0]!                          ; +0x0, 0x73caf0\nMOV             X29, SP                                                ; +0x4, 0x73caf4\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x73caf8\nMOV             X19, X0                                                ; +0xc, 0x73cafc\nMOV             W20, #0                                                ; +0x10, 0x73cb00\nB               loc_73CB24                                             ; +0x14, 0x73cb04\nLDR             X0, [X19,#0x488]; this                                 ; +0x18, 0x73cb08\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c, 0x73cb0c\nLDR             X2, [X0]                                               ; +0x20, 0x73cb10\nLDRB            W1, [X19,#0x4B8]                                       ; +0x24, 0x73cb14\nLDR             X2, [X2,#0x148]                                        ; +0x28, 0x73cb18\nEOR             W1, W1, #1                                             ; +0x2c, 0x73cb1c\nBLR             X2                                                     ; +0x30, 0x73cb20\nLDR             X0, [X19,#0x488]; this                                 ; +0x34, 0x73cb24\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x38, 0x73cb28\nCMP             W20, W0                                                ; +0x3c, 0x73cb2c\nMOV             W1, W20; unsigned int                                  ; +0x40, 0x73cb30\nADD             W20, W20, #1                                           ; +0x44, 0x73cb34\nB.CC            loc_73CB08                                             ; +0x48, 0x73cb38\nMOV             W20, #0                                                ; +0x4c, 0x73cb3c\nB               loc_73CB5C                                             ; +0x50, 0x73cb40\nLDR             X0, [X19,#0x490]; this                                 ; +0x54, 0x73cb44\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x58, 0x73cb48\nLDR             X2, [X0]                                               ; +0x5c, 0x73cb4c\nLDRB            W1, [X19,#0x4B8]                                       ; +0x60, 0x73cb50\nLDR             X2, [X2,#0x148]                                        ; +0x64, 0x73cb54\nBLR             X2                                                     ; +0x68, 0x73cb58\nLDR             X0, [X19,#0x490]; this                                 ; +0x6c, 0x73cb5c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x70, 0x73cb60\nCMP             W20, W0                                                ; +0x74, 0x73cb64\nMOV             W1, W20; unsigned int                                  ; +0x78, 0x73cb68\nADD             W20, W20, #1                                           ; +0x7c, 0x73cb6c\nB.CC            loc_73CB44                                             ; +0x80, 0x73cb70\nLDR             X2, [X19,#0x498]                                       ; +0x84, 0x73cb74\nLDRB            W1, [X19,#0x4B8]                                       ; +0x88, 0x73cb78\nMOV             X0, X2                                                 ; +0x8c, 0x73cb7c\nLDR             X2, [X2]                                               ; +0x90, 0x73cb80\nLDR             X2, [X2,#0x3D8]                                        ; +0x94, 0x73cb84\nBLR             X2                                                     ; +0x98, 0x73cb88\nLDR             X2, [X19,#0x4C0]                                       ; +0x9c, 0x73cb8c\nLDRB            W1, [X19,#0x4B8]                                       ; +0xa0, 0x73cb90\nMOV             X0, X2                                                 ; +0xa4, 0x73cb94\nLDR             X2, [X2]                                               ; +0xa8, 0x73cb98\nEOR             W1, W1, #1                                             ; +0xac, 0x73cb9c\nLDR             X2, [X2,#0x3D8]                                        ; +0xb0, 0x73cba0\nBLR             X2                                                     ; +0xb4, 0x73cba4\nLDR             X2, [X19,#0x4C8]                                       ; +0xb8, 0x73cba8\nLDRB            W1, [X19,#0x4B8]                                       ; +0xbc, 0x73cbac\nMOV             X0, X2                                                 ; +0xc0, 0x73cbb0\nLDR             X2, [X2]                                               ; +0xc4, 0x73cbb4\nEOR             W1, W1, #1                                             ; +0xc8, 0x73cbb8\nLDR             X2, [X2,#0x3D8]                                        ; +0xcc, 0x73cbbc\nBLR             X2                                                     ; +0xd0, 0x73cbc0\nLDR             X2, [X19,#0x4D0]                                       ; +0xd4, 0x73cbc4\nLDRB            W1, [X19,#0x4B8]                                       ; +0xd8, 0x73cbc8\nMOV             X0, X2                                                 ; +0xdc, 0x73cbcc\nLDR             X2, [X2]                                               ; +0xe0, 0x73cbd0\nEOR             W1, W1, #1                                             ; +0xe4, 0x73cbd4\nLDR             X2, [X2,#0x3D8]                                        ; +0xe8, 0x73cbd8\nBLR             X2                                                     ; +0xec, 0x73cbdc\nLDR             X2, [X19,#0x4D8]                                       ; +0xf0, 0x73cbe0\nLDRB            W1, [X19,#0x4B8]                                       ; +0xf4, 0x73cbe4\nMOV             X0, X2                                                 ; +0xf8, 0x73cbe8\nLDR             X2, [X2]                                               ; +0xfc, 0x73cbec\nEOR             W1, W1, #1                                             ; +0x100, 0x73cbf0\nLDR             X2, [X2,#0x3D8]                                        ; +0x104, 0x73cbf4\nBLR             X2                                                     ; +0x108, 0x73cbf8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x10c, 0x73cbfc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x110, 0x73cc00\nRET                                                                    ; +0x114, 0x73cc04", "xrefs": ["ColorSelectPopup::init @ 0x73d7f4", "ColorSelectPopup::onToggleHSVMode @ 0x73fe3c", "<???> @ 0xac950"], "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"}