{"type": "func", "start": 4296015184, "end": 4296015304, "name": "ConfigureHSVWidget::onResetHSV", "pseudocode": "// \n// ConfigureHSVWidget::onResetHSV from 0x1000ffd50 to 0x1000ffdc8 (120 bytes)\n// \n// 2 xrefs:\n// > ConfigureHSVWidget::init @ 0x1000ff7c8\n// > ConfigureHSVWidget::init @ 0x1000ff838\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::onResetHSV(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)\n{\n  HSVWidgetDelegate *m_delegate; // x0\n\n  a1->m_hsv = (cocos2d::ccHSVValue)xmmword_10086B0A0;\n  Slider::setValue(a1->m_hueSlider, 0.5);\n  Slider::setValue(a1->m_saturationSlider, 0.5);\n  Slider::setValue(a1->m_brightnessSlider, 0.5);\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::onResetHSV from 0x1000ffd50 to 0x1000ffdc8 (120 bytes)\n; \n; 2 xrefs:\n; > ConfigureHSVWidget::init @ 0x1000ff7c8\n; > ConfigureHSVWidget::init @ 0x1000ff838\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, 0x1000ffd50\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000ffd54\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000ffd58\nMOV             X19, X0                                                ; +0xc, 0x1000ffd5c\nADD             X8, X0, #0x178                                         ; +0x10, 0x1000ffd60\nADRP            X9, #xmmword_10086B0A0@PAGE                            ; +0x14, 0x1000ffd64\nLDR             Q0, [X9,#xmmword_10086B0A0@PAGEOFF]                    ; +0x18, 0x1000ffd68\nSTR             Q0, [X8]                                               ; +0x1c, 0x1000ffd6c\nLDR             X0, [X0,#0x160]                                        ; +0x20, 0x1000ffd70\nFMOV            S0, #0.5                                               ; +0x24, 0x1000ffd74\nBL              Slider__setValue                                       ; +0x28, 0x1000ffd78\nLDR             X0, [X19,#0x168]                                       ; +0x2c, 0x1000ffd7c\nFMOV            S0, #0.5                                               ; +0x30, 0x1000ffd80\nBL              Slider__setValue                                       ; +0x34, 0x1000ffd84\nLDR             X0, [X19,#0x170]                                       ; +0x38, 0x1000ffd88\nFMOV            S0, #0.5                                               ; +0x3c, 0x1000ffd8c\nBL              Slider__setValue                                       ; +0x40, 0x1000ffd90\nMOV             X0, X19                                                ; +0x44, 0x1000ffd94\nBL              ConfigureHSVWidget__updateLabels                       ; +0x48, 0x1000ffd98\nLDR             X0, [X19,#0x190]                                       ; +0x4c, 0x1000ffd9c\nCBZ             X0, loc_1000FFDBC                                      ; +0x50, 0x1000ffda0\nLDR             X8, [X0]                                               ; +0x54, 0x1000ffda4\nLDR             X2, [X8,#8]                                            ; +0x58, 0x1000ffda8\nMOV             X1, X19                                                ; +0x5c, 0x1000ffdac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1000ffdb0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1000ffdb4\nBR              X2                                                     ; +0x68, 0x1000ffdb8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x6c, 0x1000ffdbc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x70, 0x1000ffdc0\nRET                                                                    ; +0x74, 0x1000ffdc4", "xrefs": ["ConfigureHSVWidget::init @ 0x1000ff7c8", "ConfigureHSVWidget::init @ 0x1000ff838"], "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"}