// // cocos2d::extension::CCControlColourPicker::colourSliderValueChanged from 0x100341240 to 0x10034131c (220 bytes) // // 1 xrefs: // > cocos2d::extension::CCControlColourPicker::init @ 0x100341031 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:28:43 +0000 // __int64 __fastcall cocos2d::extension::CCControlColourPicker::colourSliderValueChanged( __int64 a1, __m64 *a2, int a3, int a4, int a5, int a6) { int v7; // eax int v8; // ecx __int64 result; // rax __int64 v10; // rdi __int64 (__fastcall ***v11)(_QWORD, _QWORD); // rdi double v12[6]; // [rsp+20h] [rbp-30h] BYREF *(__m128d *)(a1 + 488) = _mm_cvtps_pd(a2[59]); cocos2d::extension::CCControlUtils::RGBfromHSV( (unsigned int)v12, (_DWORD)a2, a3, a4, a5, a6, *(_QWORD *)(a1 + 480), *(_QWORD *)(a1 + 488)); v7 = (int)(v12[0] * 255.0); v8 = (int)(v12[1] * 255.0); *(_BYTE *)(a1 + 474) = (int)(255.0 * v12[2]); *(_WORD *)(a1 + 472) = ((unsigned __int8)v8 << 8) | (unsigned __int8)v7; result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1320LL))(a1, 256); v10 = *(_QWORD *)(a1 + 528); if ( v10 ) result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 960LL))(v10, a1 + 472); v11 = *(__int64 (__fastcall ****)(_QWORD, _QWORD))(a1 + 536); if ( v11 ) return (**v11)(v11, *(unsigned __int16 *)(a1 + 472) | (*(unsigned __int8 *)(a1 + 474) << 16)); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source