// // cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV from 0x1003687d0 to 0x100368868 (152 bytes) // // 1 xrefs: // > @ 0x10091b4d0 // // 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 // __int64 __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV( __int64 a1, int a2, int a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7) { __int64 v7; // rdi __int64 v8; // r8 __int64 v9; // r9 __int128 v11; // [rsp+0h] [rbp-60h] double v12; // [rsp+20h] [rbp-40h] BYREF double v13; // [rsp+28h] [rbp-38h] double v14; // [rsp+30h] [rbp-30h] _OWORD v15[2]; // [rsp+40h] [rbp-20h] BYREF *(_QWORD *)&v15[0] = a7; *(_OWORD *)((char *)v15 + 8) = xmmword_100815170; v11 = v15[0]; cocos2d::extension::CCControlUtils::RGBfromHSV((unsigned int)&v12, a2, a3, a4, a5); v7 = *(_QWORD *)(a1 + 480); BYTE2(v15[0]) = (int)(255.0 * v14); LOWORD(v15[0]) = ((unsigned __int8)(int)(v13 * 255.0) << 8) | (unsigned __int8)(int)(v12 * 255.0); return (*(__int64 (__fastcall **)(__int64, _OWORD *, _QWORD, _QWORD, __int64, __int64, _QWORD, _QWORD, __int64))(*(_QWORD *)v7 + 944LL))( v7, v15, (unsigned int)((int)(255.0 * v14) << 16), ((int)(255.0 * v14) << 16) | ((unsigned __int8)(int)(v13 * 255.0) << 8), v8, v9, v11, *((_QWORD *)&v11 + 1), 0x3FF0000000000000LL); }
GD Web Decomp Icon

GD Web Decomp

Raw Source