{"type": "func", "start": 4296014952, "end": 4296015068, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x1000ffc68 to 0x1000ffcdc (116 bytes)\n// \n// 1 xrefs:\n// > ConfigureHSVWidget::init @ 0x1000ff6b4\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 ConfigureHSVWidget::onToggleSConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  float v3; // s0\n  HSVWidgetDelegate *m_delegate; // x0\n\n  a1->m_hsv.absoluteSaturation ^= 1u;\n  Slider::setValue(a1->m_saturationSlider, 0.5);\n  v3 = 1.0;\n  if ( a1->m_hsv.absoluteSaturation )\n    v3 = 0.0;\n  a1->m_hsv.s = v3;\n  ConfigureHSVWidget::updateLabels(a1);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(HSVWidgetDelegate *, ConfigureHSVWidget *))m_delegate->hsvChanged)(m_delegate, a1);\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleSConst from 0x1000ffc68 to 0x1000ffcdc (116 bytes)\n; \n; 1 xrefs:\n; > ConfigureHSVWidget::init @ 0x1000ff6b4\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000ffc68\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000ffc6c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000ffc70\nMOV             X19, X0                                                ; +0xc, 0x1000ffc74\nLDRB            W8, [X0,#0x184]                                        ; +0x10, 0x1000ffc78\nEOR             W8, W8, #1                                             ; +0x14, 0x1000ffc7c\nSTRB            W8, [X0,#0x184]                                        ; +0x18, 0x1000ffc80\nLDR             X0, [X0,#0x168]                                        ; +0x1c, 0x1000ffc84\nFMOV            S0, #0.5                                               ; +0x20, 0x1000ffc88\nBL              Slider__setValue                                       ; +0x24, 0x1000ffc8c\nLDRB            W8, [X19,#0x184]                                       ; +0x28, 0x1000ffc90\nCMP             W8, #0                                                 ; +0x2c, 0x1000ffc94\nFMOV            S0, #1.0                                               ; +0x30, 0x1000ffc98\nFMOV            S1, WZR                                                ; +0x34, 0x1000ffc9c\nFCSEL           S0, S1, S0, NE                                         ; +0x38, 0x1000ffca0\nSTR             S0, [X19,#0x17C]                                       ; +0x3c, 0x1000ffca4\nMOV             X0, X19                                                ; +0x40, 0x1000ffca8\nBL              ConfigureHSVWidget__updateLabels                       ; +0x44, 0x1000ffcac\nLDR             X0, [X19,#0x190]                                       ; +0x48, 0x1000ffcb0\nCBZ             X0, loc_1000FFCD0                                      ; +0x4c, 0x1000ffcb4\nLDR             X8, [X0]                                               ; +0x50, 0x1000ffcb8\nLDR             X2, [X8,#8]                                            ; +0x54, 0x1000ffcbc\nMOV             X1, X19                                                ; +0x58, 0x1000ffcc0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1000ffcc4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1000ffcc8\nBR              X2                                                     ; +0x64, 0x1000ffccc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1000ffcd0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1000ffcd4\nRET                                                                    ; +0x70, 0x1000ffcd8", "xrefs": ["ConfigureHSVWidget::init @ 0x1000ff6b4"], "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"}