//
// cocos2d::extension::CCControlHuePicker::create from 0x100342370 to 0x100342455 (229 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlColourPicker::init @ 0x100340fcb
//
// 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:44 +0000
//
char *__fastcall cocos2d::extension::CCControlHuePicker::create(__int64 a1, _QWORD *a2)
{
char *v2; // rbx
_QWORD v4[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = (char *)operator new(0x1F8u);
cocos2d::extension::CCControl::CCControl((__int64)v2);
*(_QWORD *)v2 = off_100B1E9C0;
*((_QWORD *)v2 + 40) = off_100B1EF38;
*((_QWORD *)v2 + 41) = &off_100B1EFA8;
*((_QWORD *)v2 + 42) = off_100B1EFC0;
*((_QWORD *)v2 + 43) = off_100B1EFE0;
*((_QWORD *)v2 + 44) = off_100B1F008;
*((_QWORD *)v2 + 51) = off_100B1F038;
*(_OWORD *)(v2 + 472) = 0;
*((_QWORD *)v2 + 61) = 0;
sub_1002782A0((_QWORD *)v2 + 62);
sub_1002782D0(v4, a2);
(*(void (__fastcall **)(char *, __int64, _QWORD *))(*(_QWORD *)v2 + 1376LL))(v2, a1, v4);
cocos2d::CCObject::autorelease(v2);
return v2;
}