//
// cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0xa9db78 to 0xa9dc24 (172 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlColourPicker::init @ 0xa9cd9c
// > ??> @ 0xb3658
//
// 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
//
cocos2d::extension::CCControlSaturationBrightnessPicker *cocos2d::extension::CCControlSaturationBrightnessPicker::create(
cocos2d::CCNode *a1,
cocos2d::CCPoint a2)
{
const cocos2d::CCPoint *v2; // x1
const cocos2d::CCPoint *v3; // x21
cocos2d::extension::CCControlSaturationBrightnessPicker *v5; // x19
const cocos2d::CCPoint *v6; // x1
float (__fastcall *getSaturation)(const cocos2d::extension::CCControlSaturationBrightnessPicker *__hidden); // x21
cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF
v3 = v2;
v5 = (cocos2d::extension::CCControlSaturationBrightnessPicker *)operator new(0x228u);
cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker(v5);
v6 = v3;
getSaturation = v5->getSaturation;
cocos2d::CCPoint::CCPoint(&v9, v6);
((void (__fastcall *)(cocos2d::extension::CCControlSaturationBrightnessPicker *, cocos2d::CCNode *, cocos2d::CCPoint *))getSaturation)(
v5,
a1,
&v9);
cocos2d::CCObject::autorelease(v5);
return v5;
}