// // cocos2d::extension::CCControlColourPicker::hueSliderValueChanged from 0x1800080b0 to 0x1800081de (302 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x180007dac // > @ 0x18002fdf8 // > @ 0x18004984c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::extension::CCControlColourPicker::hueSliderValueChanged( cocos2d::extension::CCControlColourPicker *this, struct cocos2d::CCObject *a2) { __int64 v3; // xmm1_8 __m128d *v4; // rax double v5; // xmm2_8 double v6; // xmm3_8 __int64 *v7; // rcx __int64 v8; // xmm1_8 __int64 v9; // rax __int64 v10; // rcx void (__fastcall ***v11)(_QWORD, __int16 *); // rcx __int128 v12; // [rsp+20h] [rbp-48h] BYREF __int64 v13; // [rsp+30h] [rbp-38h] _BYTE v14[40]; // [rsp+40h] [rbp-28h] BYREF __int16 v15; // [rsp+70h] [rbp+8h] BYREF char v16; // [rsp+72h] [rbp+Ah] *((double *)this + 60) = *((float *)a2 + 118); v3 = *((_QWORD *)this + 62); v12 = *((_OWORD *)this + 30); v13 = v3; v4 = (__m128d *)cocos2d::extension::CCControlUtils::RGBfromHSV(v14, &v12); v5 = _mm_unpackhi_pd(*v4, *v4).m128d_f64[0] * 255.0; v6 = v4[1].m128d_f64[0] * 255.0; *((_BYTE *)this + 472) = (int)(v4->m128d_f64[0] * 255.0); *((_BYTE *)this + 473) = (int)v5; *((_BYTE *)this + 474) = (int)v6; (*(void (__fastcall **)(cocos2d::extension::CCControlColourPicker *, __int64))(*(_QWORD *)this + 1072LL))(this, 256); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 64) + 1112LL))(*((_QWORD *)this + 64)); v7 = *((__int64 **)this + 63); v8 = *((_QWORD *)this + 62); v9 = *v7; v12 = *((_OWORD *)this + 30); v13 = v8; (*(void (__fastcall **)(__int64 *, __int128 *))(v9 + 1120))(v7, &v12); v10 = *((_QWORD *)this + 66); if ( v10 ) (**(void (__fastcall ***)(__int64, char *))(v10 + 320))(v10 + 320, (char *)this + 472); v11 = *((void (__fastcall ****)(_QWORD, __int16 *))this + 67); if ( v11 ) { v15 = *((_WORD *)this + 236); v16 = *((_BYTE *)this + 474); (**v11)(v11, &v15); } }