{"type": "func", "start": 4296015068, "end": 4296015184, "name": "ConfigureHSVWidget::onToggleVConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleVConst from 0x1000ffcdc to 0x1000ffd50 (116 bytes)\n// \n// 1 xrefs:\n// > ConfigureHSVWidget::init @ 0x1000ff764\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::onToggleVConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  float v3; // s0\n  HSVWidgetDelegate *m_delegate; // x0\n\n  a1->m_hsv.absoluteBrightness ^= 1u;\n  Slider::setValue(a1->m_brightnessSlider, 0.5);\n  v3 = 1.0;\n  if ( a1->m_hsv.absoluteBrightness )\n    v3 = 0.0;\n  a1->m_hsv.v = 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::onToggleVConst from 0x1000ffcdc to 0x1000ffd50 (116 bytes)\n; \n; 1 xrefs:\n; > ConfigureHSVWidget::init @ 0x1000ff764\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, 0x1000ffcdc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000ffce0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000ffce4\nMOV             X19, X0                                                ; +0xc, 0x1000ffce8\nLDRB            W8, [X0,#0x185]                                        ; +0x10, 0x1000ffcec\nEOR             W8, W8, #1                                             ; +0x14, 0x1000ffcf0\nSTRB            W8, [X0,#0x185]                                        ; +0x18, 0x1000ffcf4\nLDR             X0, [X0,#0x170]                                        ; +0x1c, 0x1000ffcf8\nFMOV            S0, #0.5                                               ; +0x20, 0x1000ffcfc\nBL              Slider__setValue                                       ; +0x24, 0x1000ffd00\nLDRB            W8, [X19,#0x185]                                       ; +0x28, 0x1000ffd04\nCMP             W8, #0                                                 ; +0x2c, 0x1000ffd08\nFMOV            S0, #1.0                                               ; +0x30, 0x1000ffd0c\nFMOV            S1, WZR                                                ; +0x34, 0x1000ffd10\nFCSEL           S0, S1, S0, NE                                         ; +0x38, 0x1000ffd14\nSTR             S0, [X19,#0x180]                                       ; +0x3c, 0x1000ffd18\nMOV             X0, X19                                                ; +0x40, 0x1000ffd1c\nBL              ConfigureHSVWidget__updateLabels                       ; +0x44, 0x1000ffd20\nLDR             X0, [X19,#0x190]                                       ; +0x48, 0x1000ffd24\nCBZ             X0, loc_1000FFD44                                      ; +0x4c, 0x1000ffd28\nLDR             X8, [X0]                                               ; +0x50, 0x1000ffd2c\nLDR             X2, [X8,#8]                                            ; +0x54, 0x1000ffd30\nMOV             X1, X19                                                ; +0x58, 0x1000ffd34\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1000ffd38\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1000ffd3c\nBR              X2                                                     ; +0x64, 0x1000ffd40\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1000ffd44\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1000ffd48\nRET                                                                    ; +0x70, 0x1000ffd4c", "xrefs": ["ConfigureHSVWidget::init @ 0x1000ff764"], "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"}