//
// cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0x100351a60 to 0x100351b57 (247 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlColourPicker::init @ 0x100340ff9
//
// 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:49 +0000
//
char *__fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::create(__int64 a1, _QWORD *a2)
{
char *v2; // rbx
_QWORD v4[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = (char *)operator new(0x210u);
cocos2d::extension::CCControl::CCControl((__int64)v2);
*(_QWORD *)v2 = off_100B23118;
*((_QWORD *)v2 + 40) = off_100B23690;
*((_QWORD *)v2 + 41) = &off_100B23700;
*((_QWORD *)v2 + 42) = off_100B23718;
*((_QWORD *)v2 + 43) = off_100B23738;
*((_QWORD *)v2 + 44) = off_100B23760;
*((_QWORD *)v2 + 51) = off_100B23790;
*(_OWORD *)(v2 + 472) = 0;
*(_OWORD *)(v2 + 488) = 0;
*((_QWORD *)v2 + 63) = 0;
sub_1002782A0((_QWORD *)v2 + 64);
*((_QWORD *)v2 + 65) = 0;
sub_1002782D0(v4, a2);
(*(void (__fastcall **)(char *, __int64, _QWORD *))(*(_QWORD *)v2 + 1360LL))(v2, a1, v4);
cocos2d::CCObject::autorelease(v2);
return v2;
}