//
// ConfigureHSVWidget::create from 0x4b76f8 to 0x4b777a (130 bytes)
//
// 4 xrefs:
// > ColorSelectPopup::init @ 0x3dbbe4
// > HSVWidgetPopup::init @ 0x4b7944
// > SetupPulsePopup::init @ 0x4c018a
// > HSVLiveOverlay::createHSVWidget @ 0x5644c8
//
// 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
//
ConfigureHSVWidget *ConfigureHSVWidget::create(cocos2d::ccHSVValue a1, bool a2, bool a3)
{
ConfigureHSVWidget *v3; // r4
ConfigureHSVWidget_vtbl *v4; // r3
ConfigureHSVWidget *v5; // r0
v3 = (ConfigureHSVWidget *)operator new(0x144u);
cocos2d::CCNode::CCNode(v3);
v3->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A7181C;
v3->m_mixed = 0;
v3->m_delegate = nullptr;
v3->m_addInputs = 0;
v3->m_updating = 0;
v3->m_inputs = nullptr;
v3->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ConfigureHSVWidget_vtbl *)&off_A71650;
if ( ConfigureHSVWidget::init(v3, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = v3->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v5 = v3;
v3 = nullptr;
v4->~ConfigureHSVWidget_0(v5);
}
return v3;
}