//
// ConfigureHSVWidget::create from 0x10041cc10 to 0x10041ccd0 (192 bytes)
//
// 3 xrefs:
// > HSVLiveOverlay::createHSVWidget @ 0x100255076
// > SetupPulsePopup::init @ 0x1003960e5
// > ColorSelectPopup::init @ 0x10080568e
//
// 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:30:13 +0000
//
_QWORD *__fastcall ConfigureHSVWidget::create(__int64 a1, unsigned __int8 a2, unsigned __int8 a3, double a4)
{
_QWORD *v5; // rbx
v5 = operator new(0x1C8u);
cocos2d::CCNode::CCNode((__int64)v5);
*v5 = off_100B3FF00;
v5[40] = off_100B402B8;
*((_BYTE *)v5 + 392) = 0;
v5[50] = 0;
*((_WORD *)v5 + 204) = 0;
v5[52] = 0;
*((_OWORD *)v5 + 27) = 0;
*((_BYTE *)v5 + 448) = 0;
if ( (unsigned __int8)ConfigureHSVWidget::init(v5, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v5 + 16LL))(v5);
return nullptr;
}
return v5;
}