//
// ConfigureHSVWidget::create from 0x5e5d38 to 0x5e5dc6 (142 bytes)
//
// 4 xrefs:
// > ColorSelectPopup::init @ 0x4e0e24
// > HSVWidgetPopup::init @ 0x5e5fd8
// > SetupPulsePopup::init @ 0x5eec96
// > HSVLiveOverlay::createHSVWidget @ 0x69c3b8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:19 +0000
//
int __fastcall ConfigureHSVWidget::create(int a1, int a2, const char *a3, int a4, char a5, char a6)
{
int v6; // r4
int v7; // r3
int v8; // r0
v6 = operator new(0x154u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6);
*(_DWORD *)(v6 + 264) = &off_CBD0F4;
*(_BYTE *)(v6 + 308) = 0;
*(_DWORD *)(v6 + 312) = 0;
*(_BYTE *)(v6 + 316) = 0;
*(_BYTE *)(v6 + 317) = 0;
*(_DWORD *)(v6 + 320) = 0;
*(_DWORD *)(v6 + 328) = 0;
*(_DWORD *)(v6 + 332) = 0;
*(_BYTE *)(v6 + 336) = 0;
*(_DWORD *)v6 = &off_CBCF18;
if ( ConfigureHSVWidget::init(v6, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *(_DWORD *)v6;
v8 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v7 + 8))(v8);
}
return v6;
}