{"type": "func", "start": 4299289124, "end": 4299289412, "name": "ColorSelectPopup::updateHSVMode", "pseudocode": "// \n// ColorSelectPopup::updateHSVMode from 0x10041f224 to 0x10041f344 (288 bytes)\n// \n// 2 xrefs:\n// > ColorSelectPopup::init @ 0x10041e4e0\n// > ColorSelectPopup::onToggleHSVMode @ 0x10041eee8\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 __fastcall ColorSelectPopup::updateHSVMode(ColorSelectPopup *a1)\n{\n  unsigned int v2; // w20\n  __int64 v3; // x0\n  unsigned int v4; // w20\n  __int64 v5; // x0\n\n  if ( (unsigned int)sub_10024A36C((__int64)a1->m_colorObjects) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_10024A388((__int64)a1->m_colorObjects, v2);\n      (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, !a1->m_showCopyObjects);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_colorObjects) );\n  }\n  if ( (unsigned int)sub_10024A36C((__int64)a1->m_copyObjects) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_10024A388((__int64)a1->m_copyObjects, v4);\n      (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v5 + 328LL))(v5, a1->m_showCopyObjects);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_copyObjects) );\n  }\n  ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_copyColorInput->setTouchEnabled)(\n    a1->m_copyColorInput,\n    a1->m_showCopyObjects);\n  ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_rInput->setTouchEnabled)(a1->m_rInput, !a1->m_showCopyObjects);\n  ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_gInput->setTouchEnabled)(a1->m_gInput, !a1->m_showCopyObjects);\n  ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_bInput->setTouchEnabled)(a1->m_bInput, !a1->m_showCopyObjects);\n  ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_hexInput->setTouchEnabled)(\n    a1->m_hexInput,\n    !a1->m_showCopyObjects);\n}", "assembly": "; \n; ColorSelectPopup::updateHSVMode from 0x10041f224 to 0x10041f344 (288 bytes)\n; \n; 2 xrefs:\n; > ColorSelectPopup::init @ 0x10041e4e0\n; > ColorSelectPopup::onToggleHSVMode @ 0x10041eee8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10041f224\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10041f228\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10041f22c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10041f230\nMOV             X19, X0                                                ; +0x10, 0x10041f234\nLDR             X0, [X0,#0x470]                                        ; +0x14, 0x10041f238\nBL              sub_10024A36C                                          ; +0x18, 0x10041f23c\nCBZ             W0, loc_10041F280                                      ; +0x1c, 0x10041f240\nMOV             W20, #0                                                ; +0x20, 0x10041f244\nMOV             W21, #1                                                ; +0x24, 0x10041f248\nLDR             X0, [X19,#0x470]                                       ; +0x28, 0x10041f24c\nMOV             X1, X20                                                ; +0x2c, 0x10041f250\nBL              sub_10024A388                                          ; +0x30, 0x10041f254\nLDRB            W8, [X19,#0x4A0]                                       ; +0x34, 0x10041f258\nLDR             X9, [X0]                                               ; +0x38, 0x10041f25c\nLDR             X9, [X9,#0x148]                                        ; +0x3c, 0x10041f260\nBIC             W1, W21, W8                                            ; +0x40, 0x10041f264\nBLR             X9                                                     ; +0x44, 0x10041f268\nADD             W20, W20, #1                                           ; +0x48, 0x10041f26c\nLDR             X0, [X19,#0x470]                                       ; +0x4c, 0x10041f270\nBL              sub_10024A36C                                          ; +0x50, 0x10041f274\nCMP             W20, W0                                                ; +0x54, 0x10041f278\nB.CC            loc_10041F24C                                          ; +0x58, 0x10041f27c\nLDR             X0, [X19,#0x478]                                       ; +0x5c, 0x10041f280\nBL              sub_10024A36C                                          ; +0x60, 0x10041f284\nCBZ             W0, loc_10041F2C0                                      ; +0x64, 0x10041f288\nMOV             W20, #0                                                ; +0x68, 0x10041f28c\nLDR             X0, [X19,#0x478]                                       ; +0x6c, 0x10041f290\nMOV             X1, X20                                                ; +0x70, 0x10041f294\nBL              sub_10024A388                                          ; +0x74, 0x10041f298\nLDRB            W1, [X19,#0x4A0]                                       ; +0x78, 0x10041f29c\nLDR             X8, [X0]                                               ; +0x7c, 0x10041f2a0\nLDR             X8, [X8,#0x148]                                        ; +0x80, 0x10041f2a4\nBLR             X8                                                     ; +0x84, 0x10041f2a8\nADD             W20, W20, #1                                           ; +0x88, 0x10041f2ac\nLDR             X0, [X19,#0x478]                                       ; +0x8c, 0x10041f2b0\nBL              sub_10024A36C                                          ; +0x90, 0x10041f2b4\nCMP             W20, W0                                                ; +0x94, 0x10041f2b8\nB.CC            loc_10041F290                                          ; +0x98, 0x10041f2bc\nLDR             X0, [X19,#0x480]                                       ; +0x9c, 0x10041f2c0\nLDRB            W1, [X19,#0x4A0]                                       ; +0xa0, 0x10041f2c4\nLDR             X8, [X0]                                               ; +0xa4, 0x10041f2c8\nLDR             X8, [X8,#0x3D8]                                        ; +0xa8, 0x10041f2cc\nBLR             X8                                                     ; +0xac, 0x10041f2d0\nLDR             X0, [X19,#0x4A8]                                       ; +0xb0, 0x10041f2d4\nLDRB            W8, [X19,#0x4A0]                                       ; +0xb4, 0x10041f2d8\nLDR             X9, [X0]                                               ; +0xb8, 0x10041f2dc\nLDR             X9, [X9,#0x3D8]                                        ; +0xbc, 0x10041f2e0\nMOV             W20, #1                                                ; +0xc0, 0x10041f2e4\nBIC             W1, W20, W8                                            ; +0xc4, 0x10041f2e8\nBLR             X9                                                     ; +0xc8, 0x10041f2ec\nLDR             X0, [X19,#0x4B0]                                       ; +0xcc, 0x10041f2f0\nLDRB            W8, [X19,#0x4A0]                                       ; +0xd0, 0x10041f2f4\nLDR             X9, [X0]                                               ; +0xd4, 0x10041f2f8\nLDR             X9, [X9,#0x3D8]                                        ; +0xd8, 0x10041f2fc\nBIC             W1, W20, W8                                            ; +0xdc, 0x10041f300\nBLR             X9                                                     ; +0xe0, 0x10041f304\nLDR             X0, [X19,#0x4B8]                                       ; +0xe4, 0x10041f308\nLDRB            W8, [X19,#0x4A0]                                       ; +0xe8, 0x10041f30c\nLDR             X9, [X0]                                               ; +0xec, 0x10041f310\nLDR             X9, [X9,#0x3D8]                                        ; +0xf0, 0x10041f314\nBIC             W1, W20, W8                                            ; +0xf4, 0x10041f318\nBLR             X9                                                     ; +0xf8, 0x10041f31c\nLDR             X0, [X19,#0x4C0]                                       ; +0xfc, 0x10041f320\nLDRB            W8, [X19,#0x4A0]                                       ; +0x100, 0x10041f324\nLDR             X9, [X0]                                               ; +0x104, 0x10041f328\nLDR             X2, [X9,#0x3D8]                                        ; +0x108, 0x10041f32c\nBIC             W1, W20, W8                                            ; +0x10c, 0x10041f330\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x110, 0x10041f334\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x114, 0x10041f338\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x118, 0x10041f33c\nBR              X2                                                     ; +0x11c, 0x10041f340", "xrefs": ["ColorSelectPopup::init @ 0x10041e4e0", "ColorSelectPopup::onToggleHSVMode @ 0x10041eee8"], "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"}