{"type": "func", "start": 5369330384, "end": 5369330500, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x140097ad0 to 0x140097b44 (116 bytes)\n// \n// 2 xrefs:\n// > ConfigureHSVWidget::init @ 0x1400971bd\n// > <???> @ 0x1406c7308\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::onToggleSConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  float v3; // xmm0_4\n  HSVWidgetDelegate *m_delegate; // rcx\n\n  a1->m_hsv.absoluteSaturation = !a1->m_hsv.absoluteSaturation;\n  Slider::setValue(a1->m_saturationSlider, 0.5);\n  if ( a1->m_hsv.absoluteSaturation )\n    v3 = 0.0;\n  else\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    m_delegate->hsvChanged(m_delegate, a1);\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleSConst from 0x140097ad0 to 0x140097b44 (116 bytes)\n; \n; 2 xrefs:\n; > ConfigureHSVWidget::init @ 0x1400971bd\n; > <???> @ 0x1406c7308\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    rbx                                                            ; +0x0, 0x140097ad0\nsub     rsp, 20h                                                       ; +0x2, 0x140097ad2\ncmp     byte ptr [rcx+184h], 0                                         ; +0x6, 0x140097ad6\nmov     rbx, rcx                                                       ; +0xd, 0x140097add\nmovss   xmm1, cs:dword_140622B08                                       ; +0x10, 0x140097ae0\nsetz    al                                                             ; +0x18, 0x140097ae8\nmov     [rcx+184h], al                                                 ; +0x1b, 0x140097aeb\nmov     rcx, [rcx+168h]                                                ; +0x21, 0x140097af1\ncall    Slider__setValue                                               ; +0x28, 0x140097af8\ncmp     byte ptr [rbx+184h], 0                                         ; +0x2d, 0x140097afd\njz      short loc_140097B0B                                            ; +0x34, 0x140097b04\nxorps   xmm0, xmm0                                                     ; +0x36, 0x140097b06\njmp     short loc_140097B13                                            ; +0x39, 0x140097b09\nmovss   xmm0, cs:flt_140622C24                                         ; +0x3b, 0x140097b0b\nmov     rcx, rbx                                                       ; +0x43, 0x140097b13\nmovss   dword ptr [rbx+17Ch], xmm0                                     ; +0x46, 0x140097b16\ncall    ConfigureHSVWidget__updateLabels                               ; +0x4e, 0x140097b1e\nmov     rcx, [rbx+190h]                                                ; +0x53, 0x140097b23\ntest    rcx, rcx                                                       ; +0x5a, 0x140097b2a\njz      short loc_140097B3E                                            ; +0x5d, 0x140097b2d\nmov     rax, [rcx]                                                     ; +0x5f, 0x140097b2f\nmov     rdx, rbx                                                       ; +0x62, 0x140097b32\nadd     rsp, 20h                                                       ; +0x65, 0x140097b35\npop     rbx                                                            ; +0x69, 0x140097b39\njmp     qword ptr [rax+8]                                              ; +0x6a, 0x140097b3a\nadd     rsp, 20h                                                       ; +0x6e, 0x140097b3e\npop     rbx                                                            ; +0x72, 0x140097b42\nretn                                                                   ; +0x73, 0x140097b43", "xrefs": ["ConfigureHSVWidget::init @ 0x1400971bd", "<???> @ 0x1406c7308"], "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"}