// // cocos2d::extension::CCControlColourPicker::colourSliderValueChanged from 0x1800081e0 to 0x1800082d6 (246 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x180007dd3 // > @ 0x18002fdf8 // > @ 0x180049858 // // 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::colourSliderValueChanged( 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 void (__fastcall ***v8)(_QWORD, __int16 *); // rcx __int128 v9; // [rsp+20h] [rbp-48h] BYREF __int64 v10; // [rsp+30h] [rbp-38h] _BYTE v11[40]; // [rsp+40h] [rbp-28h] BYREF __int16 v12; // [rsp+70h] [rbp+8h] BYREF char v13; // [rsp+72h] [rbp+Ah] *((double *)this + 61) = *((float *)a2 + 118); *((double *)this + 62) = *((float *)a2 + 119); v3 = *((_QWORD *)this + 62); v9 = *((_OWORD *)this + 30); v10 = v3; v4 = (__m128d *)cocos2d::extension::CCControlUtils::RGBfromHSV(v11, &v9); v5 = _mm_unpackhi_pd(*v4, *v4).m128d_f64[0]; v6 = v4[1].m128d_f64[0] * 255.0; *((_BYTE *)this + 472) = (int)(v4->m128d_f64[0] * 255.0); *((_BYTE *)this + 473) = (int)(v5 * 255.0); *((_BYTE *)this + 474) = (int)v6; (*(void (__fastcall **)(cocos2d::extension::CCControlColourPicker *, __int64))(*(_QWORD *)this + 1072LL))(this, 256); v7 = *((_QWORD *)this + 66); if ( v7 ) (**(void (__fastcall ***)(__int64, char *))(v7 + 320))(v7 + 320, (char *)this + 472); v8 = *((void (__fastcall ****)(_QWORD, __int16 *))this + 67); if ( v8 ) { v12 = *((_WORD *)this + 236); v13 = *((_BYTE *)this + 474); (**v8)(v8, &v12); } }