{"type": "func", "start": 4943880, "end": 4943958, "name": "ConfigureHSVWidget::onToggleVConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleVConst from 0x4b7008 to 0x4b7056 (78 bytes)\n// \n// 0 xrefs:\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::onToggleVConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  float v3; // s15\n  HSVWidgetDelegate *m_delegate; // r0\n\n  a1->m_hsv.absoluteBrightness ^= 1u;\n  Slider::setValue(a1->m_brightnessSlider, 0.5);\n  v3 = 0.0;\n  if ( !a1->m_hsv.absoluteBrightness )\n    v3 = 1.0;\n  a1->m_hsv.v = v3;\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::onToggleVConst from 0x4b7008 to 0x4b7056 (78 bytes)\n; \n; 0 xrefs:\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\nLDRB.W          R3, [R0,#0x131]                                        ; +0x0, 0x4b7008\nMOV.W           R1, #0x3F000000; float                                 ; +0x4, 0x4b700c\nPUSH            {R4,LR}                                                ; +0x8, 0x4b7010\nEOR.W           R3, R3, #1                                             ; +0xa, 0x4b7012\nMOV             R4, R0                                                 ; +0xe, 0x4b7016\nSTRB.W          R3, [R0,#0x131]                                        ; +0x10, 0x4b7018\nLDR.W           R0, [R0,#0x120]; this                                  ; +0x14, 0x4b701c\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x18, 0x4b7020\nVMOV.F32        S14, #1.0                                              ; +0x1c, 0x4b7024\nLDRB.W          R3, [R4,#0x131]                                        ; +0x20, 0x4b7028\nMOV             R0, R4; this                                           ; +0x24, 0x4b702c\nVLDR            S15, =0.0                                              ; +0x26, 0x4b702e\nCMP             R3, #0                                                 ; +0x2a, 0x4b7032\nIT EQ                                                                  ; +0x2c, 0x4b7034\nVMOVEQ.F32      S15, S14                                               ; +0x2e, 0x4b7036\nVSTR            S15, [R4,#0x12C]                                       ; +0x32, 0x4b703a\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0x36, 0x4b703e\nLDR.W           R0, [R4,#0x138]                                        ; +0x3a, 0x4b7042\nCBZ             R0, locret_4B7054                                      ; +0x3e, 0x4b7046\nLDR             R3, [R0]                                               ; +0x40, 0x4b7048\nMOV             R1, R4                                                 ; +0x42, 0x4b704a\nPOP.W           {R4,LR}                                                ; +0x44, 0x4b704c\nLDR             R3, [R3,#4]                                            ; +0x48, 0x4b7050\nBX              R3                                                     ; +0x4a, 0x4b7052\nPOP             {R4,PC}                                                ; +0x4c, 0x4b7054", "xrefs": [], "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"}