//
// ConfigureHSVWidget::create from 0x140096a10 to 0x140096ada (202 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::init @ 0x14008f839
// > HSVWidgetPopup::init @ 0x140096886
// > HSVLiveOverlay::createHSVWidget @ 0x1402ba1d8
// > SetupPulsePopup::init @ 0x14043a247
// > ??> @ 0x1406c72c0
//
// 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
//
// Hidden C++ exception states: #wind=1
ConfigureHSVWidget *ConfigureHSVWidget::create(cocos2d::ccHSVValue *a1, bool a2, bool a3)
{
ConfigureHSVWidget *v5; // rsi
cocos2d::ccHSVValue v7; // [rsp+20h] [rbp-18h] BYREF
v5 = (ConfigureHSVWidget *)operator new(0x1A8u);
cocos2d::CCNode::CCNode(v5);
v5->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ConfigureHSVWidget_vtbl *)&ConfigureHSVWidget::`vftable';
v5->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&ConfigureHSVWidget::`vftable';
v5->m_mixed = 0;
v5->m_delegate = nullptr;
*(_WORD *)&v5->m_addInputs = 0;
v5->m_inputs = nullptr;
v7 = *a1;
if ( ConfigureHSVWidget::init(v5, &v7, 0, a3) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
((void (__fastcall *)(ConfigureHSVWidget *, __int64))v5->~ConfigureHSVWidget)(v5, 1);
return nullptr;
}
}