{"type": "func", "start": 10727656, "end": 10727936, "name": "ConfigureHSVWidget::sliderChanged", "pseudocode": "// \n// ConfigureHSVWidget::sliderChanged from 0xa3b0e8 to 0xa3b200 (280 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0xebab0\n// > ConfigureHSVWidget::init @ 0xa3b4a0\n// > ConfigureHSVWidget::init @ 0xa3b5bc\n// > ConfigureHSVWidget::init @ 0xa3b6dc\n// > <???> @ 0x15471d0\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::sliderChanged(ConfigureHSVWidget *this, cocos2d::CCObject *a2)\n{\n  int v3; // w0\n  const char *v4; // x1\n  __int64 result; // x0\n  cocos2d::CCString *v6; // x0\n  float v7; // s0\n  float v8; // s0\n  cocos2d::CCString *v9; // x0\n  float v10; // s0\n  float v11; // s0\n  float Value; // [xsp+30h] [xbp+30h]\n\n  Value = SliderThumb::getValue(a2);\n  v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  switch ( v3 )\n  {\n    case 2:\n      v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%0.2f\", v4, Value);\n      cocos2d::CCString::floatValue(v9);\n      if ( *((_BYTE *)this + 388) )\n        v11 = (float)(v10 * 2.0) + -1.0;\n      else\n        v11 = v10 + v10;\n      *((float *)this + 95) = v11;\n      break;\n    case 3:\n      v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%0.2f\", v4, Value);\n      cocos2d::CCString::floatValue(v6);\n      if ( *((_BYTE *)this + 389) )\n        v8 = (float)(v7 * 2.0) + -1.0;\n      else\n        v8 = v7 + v7;\n      *((float *)this + 96) = v8;\n      break;\n    case 1:\n      *((float *)this + 94) = (float)(int)(float)((float)(Value * 360.0) + -180.0);\n      break;\n  }\n  ConfigureHSVWidget::updateLabels(this);\n  ConfigureHSVWidget::updateColorPreview(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::sliderChanged from 0xa3b0e8 to 0xa3b200 (280 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0xebab0\n; > ConfigureHSVWidget::init @ 0xa3b4a0\n; > ConfigureHSVWidget::init @ 0xa3b5bc\n; > ConfigureHSVWidget::init @ 0xa3b6dc\n; > <???> @ 0x15471d0\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_40]!                                ; +0x0, 0xa3b0e8\nMOV             X29, SP                                                ; +0x4, 0xa3b0ec\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x8, 0xa3b0f0\nMOV             X19, X0                                                ; +0xc, 0xa3b0f4\nMOV             X0, X1; this                                           ; +0x10, 0xa3b0f8\nSTR             X1, [X29,#0x40+var_18]                                 ; +0x14, 0xa3b0fc\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x18, 0xa3b100\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x1c, 0xa3b104\nSTR             Q0, [X29,#0x40+var_10]                                 ; +0x20, 0xa3b108\nMOV             X0, X1                                                 ; +0x24, 0xa3b10c\nLDR             X2, [X1]                                               ; +0x28, 0xa3b110\nLDR             X1, [X2,#0x40]                                         ; +0x2c, 0xa3b114\nBLR             X1                                                     ; +0x30, 0xa3b118\nCMP             W0, #2                                                 ; +0x34, 0xa3b11c\nLDR             Q0, [X29,#0x40+var_10]                                 ; +0x38, 0xa3b120\nB.EQ            loc_A3B1B8                                             ; +0x3c, 0xa3b124\nCMP             W0, #3                                                 ; +0x40, 0xa3b128\nB.EQ            loc_A3B188                                             ; +0x44, 0xa3b12c\nCMP             W0, #1                                                 ; +0x48, 0xa3b130\nB.EQ            loc_A3B16C                                             ; +0x4c, 0xa3b134\nMOV             X0, X19; this                                          ; +0x50, 0xa3b138\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0x54, 0xa3b13c\nMOV             X0, X19; this                                          ; +0x58, 0xa3b140\nBL              _ZN18ConfigureHSVWidget18updateColorPreviewEv; ConfigureHSVWidget::updateColorPreview(void) ; +0x5c, 0xa3b144\nLDR             X0, [X19,#0x190]                                       ; +0x60, 0xa3b148\nCBZ             X0, loc_A3B160                                         ; +0x64, 0xa3b14c\nLDR             X2, [X0]                                               ; +0x68, 0xa3b150\nMOV             X1, X19                                                ; +0x6c, 0xa3b154\nLDR             X2, [X2,#8]                                            ; +0x70, 0xa3b158\nBLR             X2                                                     ; +0x74, 0xa3b15c\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x78, 0xa3b160\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x7c, 0xa3b164\nRET                                                                    ; +0x80, 0xa3b168\nLDR             S1, =0xC3340000                                        ; +0x84, 0xa3b16c\nLDR             S2, =0x43B40000                                        ; +0x88, 0xa3b170\nFMADD           S0, S0, S2, S1                                         ; +0x8c, 0xa3b174\nFCVTZS          W0, S0                                                 ; +0x90, 0xa3b178\nSCVTF           S0, W0                                                 ; +0x94, 0xa3b17c\nSTR             S0, [X19,#0x178]                                       ; +0x98, 0xa3b180\nB               loc_A3B138                                             ; +0x9c, 0xa3b184\nFCVT            D0, S0                                                 ; +0xa0, 0xa3b188\nADRL            X0, a02f; \"%0.2f\"                                      ; +0xa4, 0xa3b18c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xac, 0xa3b194\nBL              _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0xb0, 0xa3b198\nLDRB            W0, [X19,#0x185]                                       ; +0xb4, 0xa3b19c\nCBZ             W0, loc_A3B1F4                                         ; +0xb8, 0xa3b1a0\nFMOV            S1, #-1.0                                              ; +0xbc, 0xa3b1a4\nFMOV            S2, #2.0                                               ; +0xc0, 0xa3b1a8\nFMADD           S0, S0, S2, S1                                         ; +0xc4, 0xa3b1ac\nSTR             S0, [X19,#0x180]                                       ; +0xc8, 0xa3b1b0\nB               loc_A3B138                                             ; +0xcc, 0xa3b1b4\nFCVT            D0, S0                                                 ; +0xd0, 0xa3b1b8\nADRL            X0, a02f; \"%0.2f\"                                      ; +0xd4, 0xa3b1bc\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xdc, 0xa3b1c4\nBL              _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0xe0, 0xa3b1c8\nLDRB            W0, [X19,#0x184]                                       ; +0xe4, 0xa3b1cc\nCBZ             W0, loc_A3B1E8                                         ; +0xe8, 0xa3b1d0\nFMOV            S1, #-1.0                                              ; +0xec, 0xa3b1d4\nFMOV            S2, #2.0                                               ; +0xf0, 0xa3b1d8\nFMADD           S0, S0, S2, S1                                         ; +0xf4, 0xa3b1dc\nSTR             S0, [X19,#0x17C]                                       ; +0xf8, 0xa3b1e0\nB               loc_A3B138                                             ; +0xfc, 0xa3b1e4\nFADD            S0, S0, S0                                             ; +0x100, 0xa3b1e8\nSTR             S0, [X19,#0x17C]                                       ; +0x104, 0xa3b1ec\nB               loc_A3B138                                             ; +0x108, 0xa3b1f0\nFADD            S0, S0, S0                                             ; +0x10c, 0xa3b1f4\nSTR             S0, [X19,#0x180]                                       ; +0x110, 0xa3b1f8\nB               loc_A3B138                                             ; +0x114, 0xa3b1fc", "xrefs": ["<???> @ 0xebab0", "ConfigureHSVWidget::init @ 0xa3b4a0", "ConfigureHSVWidget::init @ 0xa3b5bc", "ConfigureHSVWidget::init @ 0xa3b6dc", "<???> @ 0x15471d0"], "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"}