{"type": "func", "start": 9311944, "end": 9312048, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x8e16c8 to 0x8e1730 (104 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x6c8e8\n// > ConfigureHSVWidget::init @ 0x8e1ca8\n// > <???> @ 0x122b8e0\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 ConfigureHSVWidget::onToggleSConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  bool absoluteSaturation; // w1\n  Slider *m_saturationSlider; // x0\n  float v5; // s0\n  HSVWidgetDelegate *m_delegate; // x0\n\n  absoluteSaturation = a1->m_hsv.absoluteSaturation;\n  m_saturationSlider = a1->m_saturationSlider;\n  a1->m_hsv.absoluteSaturation = !absoluteSaturation;\n  Slider::setValue(m_saturationSlider, 0.5);\n  v5 = 0.0;\n  if ( !a1->m_hsv.absoluteSaturation )\n    v5 = 1.0;\n  a1->m_hsv.s = v5;\n  ConfigureHSVWidget::updateLabels(a1);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->hsvChanged(m_delegate, a1);\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleSConst from 0x8e16c8 to 0x8e1730 (104 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x6c8e8\n; > ConfigureHSVWidget::init @ 0x8e1ca8\n; > <???> @ 0x122b8e0\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,#var_20]!                                ; +0x0, 0x8e16c8\nFMOV            S0, #0.5; float                                        ; +0x4, 0x8e16cc\nMOV             X29, SP                                                ; +0x8, 0x8e16d0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x8e16d4\nMOV             X19, X0                                                ; +0x10, 0x8e16d8\nLDRB            W1, [X0,#0x184]                                        ; +0x14, 0x8e16dc\nLDR             X0, [X0,#0x168]; this                                  ; +0x18, 0x8e16e0\nEOR             W1, W1, #1                                             ; +0x1c, 0x8e16e4\nSTRB            W1, [X19,#0x184]                                       ; +0x20, 0x8e16e8\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x24, 0x8e16ec\nLDRB            W0, [X19,#0x184]                                       ; +0x28, 0x8e16f0\nFMOV            S0, WZR                                                ; +0x2c, 0x8e16f4\nCBNZ            W0, loc_8E1700                                         ; +0x30, 0x8e16f8\nFMOV            S0, #1.0                                               ; +0x34, 0x8e16fc\nMOV             X0, X19; this                                          ; +0x38, 0x8e1700\nSTR             S0, [X19,#0x17C]                                       ; +0x3c, 0x8e1704\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0x40, 0x8e1708\nLDR             X0, [X19,#0x190]                                       ; +0x44, 0x8e170c\nCBZ             X0, loc_8E1724                                         ; +0x48, 0x8e1710\nLDR             X2, [X0]                                               ; +0x4c, 0x8e1714\nMOV             X1, X19                                                ; +0x50, 0x8e1718\nLDR             X2, [X2,#8]                                            ; +0x54, 0x8e171c\nBLR             X2                                                     ; +0x58, 0x8e1720\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x8e1724\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x8e1728\nRET                                                                    ; +0x64, 0x8e172c", "xrefs": ["<???> @ 0x6c8e8", "ConfigureHSVWidget::init @ 0x8e1ca8", "<???> @ 0x122b8e0"], "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"}