{"type": "func", "start": 4299361072, "end": 4299361181, "name": "ConfigureHSVWidget::onToggleVConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleVConst from 0x100430b30 to 0x100430b9d (109 bytes)\n// \n// 1 xrefs:\n// > ConfigureHSVWidget::init @ 0x1004304de\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; // xmm0_4\n  HSVWidgetDelegate *m_delegate; // rdi\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    ((void (__fastcall *)(HSVWidgetDelegate *, ConfigureHSVWidget *))m_delegate->hsvChanged)(m_delegate, a1);\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleVConst from 0x100430b30 to 0x100430b9d (109 bytes)\n; \n; 1 xrefs:\n; > ConfigureHSVWidget::init @ 0x1004304de\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\npush    rbp                                                            ; +0x0, 0x100430b30\nmov     rbp, rsp                                                       ; +0x1, 0x100430b31\npush    rbx                                                            ; +0x4, 0x100430b34\npush    rax                                                            ; +0x5, 0x100430b35\nmov     rbx, rdi                                                       ; +0x6, 0x100430b36\nxor     byte ptr [rdi+185h], 1                                         ; +0x9, 0x100430b39\nmov     rdi, [rdi+170h]                                                ; +0x10, 0x100430b40\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x17, 0x100430b47\ncall    Slider__setValue                                               ; +0x1f, 0x100430b4f\ncmp     byte ptr [rbx+185h], 0                                         ; +0x24, 0x100430b54\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x100430b5b\njnz     short loc_100430B68                                            ; +0x2e, 0x100430b5e\nmovss   xmm0, cs:alpha                                                 ; +0x30, 0x100430b60\nmovss   dword ptr [rbx+180h], xmm0                                     ; +0x38, 0x100430b68\nmov     rdi, rbx                                                       ; +0x40, 0x100430b70\ncall    ConfigureHSVWidget__updateLabels                               ; +0x43, 0x100430b73\nmov     rdi, [rbx+190h]                                                ; +0x48, 0x100430b78\ntest    rdi, rdi                                                       ; +0x4f, 0x100430b7f\njz      short loc_100430B96                                            ; +0x52, 0x100430b82\nmov     rax, [rdi]                                                     ; +0x54, 0x100430b84\nmov     rax, [rax+8]                                                   ; +0x57, 0x100430b87\nmov     rsi, rbx                                                       ; +0x5b, 0x100430b8b\nadd     rsp, 8                                                         ; +0x5e, 0x100430b8e\npop     rbx                                                            ; +0x62, 0x100430b92\npop     rbp                                                            ; +0x63, 0x100430b93\njmp     rax                                                            ; +0x64, 0x100430b94\nadd     rsp, 8                                                         ; +0x66, 0x100430b96\npop     rbx                                                            ; +0x6a, 0x100430b9a\npop     rbp                                                            ; +0x6b, 0x100430b9b\nretn                                                                   ; +0x6c, 0x100430b9c", "xrefs": ["ConfigureHSVWidget::init @ 0x1004304de"], "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"}