//
// ConfigureHSVWidget::create from 0x1001239f8 to 0x100123aac (180 bytes)
//
// 4 xrefs:
// > HSVWidgetPopup::init @ 0x1001238c4
// > HSVLiveOverlay::createHSVWidget @ 0x100234de8
// > sub_10045A37C @ 0x10045c3d8
// > sub_10049E474 @ 0x10049fae4
//
// This function is hookable on this platform (idp: arm, 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 10:59:16 +0000
//
_QWORD *__fastcall ConfigureHSVWidget::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
_QWORD *v8; // x19
v8 = operator new(0x1C8u);
cocos2d::CCNode::CCNode();
*v8 = off_1008D5B70;
v8[40] = off_1008D5F28;
*((_BYTE *)v8 + 392) = 0;
v8[50] = 0;
*((_WORD *)v8 + 204) = 0;
v8[52] = 0;
v8[54] = 0;
v8[55] = 0;
*((_BYTE *)v8 + 448) = 0;
if ( (unsigned int)ConfigureHSVWidget::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v8 + 16LL))(v8);
return nullptr;
}
return v8;
}