//
// ConfigureHSVWidget::create from 0xa3bc44 to 0xa3bd30 (236 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::init @ 0x8648cc
// > HSVWidgetPopup::init @ 0xa3bfb0
// > SetupPulsePopup::init @ 0xa48ad8
// > HSVLiveOverlay::createHSVWidget @ 0xb5086c
// > ??> @ 0xc32b0
//
// 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 12:59:54 +0000
//
__int64 __fastcall ConfigureHSVWidget::create(__int64 a1, __int64 a2, unsigned __int8 a3, char a4)
{
__int64 v8; // x19
v8 = operator new(0x1C8u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v8);
*(_BYTE *)(v8 + 392) = 0;
*(_QWORD *)(v8 + 400) = 0;
*(_QWORD *)v8 = &off_1486530;
*(_QWORD *)(v8 + 320) = off_14868E8;
*(_BYTE *)(v8 + 408) = 0;
*(_BYTE *)(v8 + 409) = 0;
*(_QWORD *)(v8 + 416) = 0;
*(_QWORD *)(v8 + 432) = 0;
*(_QWORD *)(v8 + 440) = 0;
*(_BYTE *)(v8 + 448) = 0;
if ( (unsigned __int8)ConfigureHSVWidget::init(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 16LL))(v8);
return 0;
}
}