{"type": "func", "start": 4299360960, "end": 4299361069, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x100430ac0 to 0x100430b2d (109 bytes)\n// \n// 1 xrefs:\n// > ConfigureHSVWidget::init @ 0x10043041e\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; // xmm0_4\n  HSVWidgetDelegate *m_delegate; // rdi\n\n  a1->m_hsv.absoluteSaturation ^= 1u;\n  Slider::setValue(a1->m_saturationSlider, 0.5);\n  v3 = 0.0;\n  if ( !a1->m_hsv.absoluteSaturation )\n    v3 = 1.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 0x100430ac0 to 0x100430b2d (109 bytes)\n; \n; 1 xrefs:\n; > ConfigureHSVWidget::init @ 0x10043041e\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, 0x100430ac0\nmov     rbp, rsp                                                       ; +0x1, 0x100430ac1\npush    rbx                                                            ; +0x4, 0x100430ac4\npush    rax                                                            ; +0x5, 0x100430ac5\nmov     rbx, rdi                                                       ; +0x6, 0x100430ac6\nxor     byte ptr [rdi+184h], 1                                         ; +0x9, 0x100430ac9\nmov     rdi, [rdi+168h]                                                ; +0x10, 0x100430ad0\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x17, 0x100430ad7\ncall    Slider__setValue                                               ; +0x1f, 0x100430adf\ncmp     byte ptr [rbx+184h], 0                                         ; +0x24, 0x100430ae4\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x100430aeb\njnz     short loc_100430AF8                                            ; +0x2e, 0x100430aee\nmovss   xmm0, cs:alpha                                                 ; +0x30, 0x100430af0\nmovss   dword ptr [rbx+17Ch], xmm0                                     ; +0x38, 0x100430af8\nmov     rdi, rbx                                                       ; +0x40, 0x100430b00\ncall    ConfigureHSVWidget__updateLabels                               ; +0x43, 0x100430b03\nmov     rdi, [rbx+190h]                                                ; +0x48, 0x100430b08\ntest    rdi, rdi                                                       ; +0x4f, 0x100430b0f\njz      short loc_100430B26                                            ; +0x52, 0x100430b12\nmov     rax, [rdi]                                                     ; +0x54, 0x100430b14\nmov     rax, [rax+8]                                                   ; +0x57, 0x100430b17\nmov     rsi, rbx                                                       ; +0x5b, 0x100430b1b\nadd     rsp, 8                                                         ; +0x5e, 0x100430b1e\npop     rbx                                                            ; +0x62, 0x100430b22\npop     rbp                                                            ; +0x63, 0x100430b23\njmp     rax                                                            ; +0x64, 0x100430b24\nadd     rsp, 8                                                         ; +0x66, 0x100430b26\npop     rbx                                                            ; +0x6a, 0x100430b2a\npop     rbp                                                            ; +0x6b, 0x100430b2b\nretn                                                                   ; +0x6c, 0x100430b2c", "xrefs": ["ConfigureHSVWidget::init @ 0x10043041e"], "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"}