{"type": "func", "start": 10727944, "end": 10728048, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0xa3b208 to 0xa3b270 (104 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x92968\n// > ConfigureHSVWidget::init @ 0xa3b7fc\n// > <???> @ 0x1543ee8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:59:53 +0000\n// \n\n__int64 __fastcall ConfigureHSVWidget::onToggleSConst(ConfigureHSVWidget *this, cocos2d::CCObject *a2)\n{\n  char v3; // w1\n  Slider *v4; // x0\n  float v5; // s0\n  __int64 result; // x0\n\n  v3 = *((_BYTE *)this + 388);\n  v4 = *((Slider **)this + 45);\n  *((_BYTE *)this + 388) = v3 ^ 1;\n  Slider::setValue(v4, 0.5);\n  v5 = 0.0;\n  if ( !*((_BYTE *)this + 388) )\n    v5 = 1.0;\n  *((float *)this + 95) = v5;\n  ConfigureHSVWidget::updateLabels(this);\n  result = *((_QWORD *)this + 50);\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64, ConfigureHSVWidget *))(*(_QWORD *)result + 8LL))(result, this);\n  return result;\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleSConst from 0xa3b208 to 0xa3b270 (104 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x92968\n; > ConfigureHSVWidget::init @ 0xa3b7fc\n; > <???> @ 0x1543ee8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:59:53 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xa3b208\nFMOV            S0, #0.5; float                                        ; +0x4, 0xa3b20c\nMOV             X29, SP                                                ; +0x8, 0xa3b210\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xa3b214\nMOV             X19, X0                                                ; +0x10, 0xa3b218\nLDRB            W1, [X0,#0x184]                                        ; +0x14, 0xa3b21c\nLDR             X0, [X0,#0x168]; this                                  ; +0x18, 0xa3b220\nEOR             W1, W1, #1                                             ; +0x1c, 0xa3b224\nSTRB            W1, [X19,#0x184]                                       ; +0x20, 0xa3b228\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x24, 0xa3b22c\nLDRB            W0, [X19,#0x184]                                       ; +0x28, 0xa3b230\nFMOV            S0, WZR                                                ; +0x2c, 0xa3b234\nCBNZ            W0, loc_A3B240                                         ; +0x30, 0xa3b238\nFMOV            S0, #1.0                                               ; +0x34, 0xa3b23c\nMOV             X0, X19; this                                          ; +0x38, 0xa3b240\nSTR             S0, [X19,#0x17C]                                       ; +0x3c, 0xa3b244\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0x40, 0xa3b248\nLDR             X0, [X19,#0x190]                                       ; +0x44, 0xa3b24c\nCBZ             X0, loc_A3B264                                         ; +0x48, 0xa3b250\nLDR             X2, [X0]                                               ; +0x4c, 0xa3b254\nMOV             X1, X19                                                ; +0x50, 0xa3b258\nLDR             X2, [X2,#8]                                            ; +0x54, 0xa3b25c\nBLR             X2                                                     ; +0x58, 0xa3b260\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0xa3b264\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0xa3b268\nRET                                                                    ; +0x64, 0xa3b26c", "xrefs": ["<???> @ 0x92968", "ConfigureHSVWidget::init @ 0xa3b7fc", "<???> @ 0x1543ee8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}