// // cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV from 0x1001bdfe8 to 0x1001be058 (112 bytes) // // 1 xrefs: // > @ 0x1007b63b0 // // 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, __n128 a2, __n128 a3) { double v4; // d0 double v5; // d1 double v6; // d2 __int64 v7; // x0 __int16 v9; // [xsp+Ch] [xbp-14h] BYREF char v10; // [xsp+Eh] [xbp-12h] a3.n128_u64[0] = 1.0; v4 = cocos2d::extension::CCControlUtils::RGBfromHSV(a1, a2, a3, 1.0); v7 = *(_QWORD *)(a1 + 480); v10 = (int)(v6 * 255.0); v9 = (int)(v4 * 255.0) | ((unsigned __int16)(int)(v5 * 255.0) << 8); return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 944LL))(v7, &v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source