//
// HSVLiveOverlay::create from 0x10019f8ec to 0x10019f9c4 (216 bytes)
//
// 1 xrefs:
// > EditorUI::editHSV @ 0x1003edd00
//
// 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
//
HSVLiveOverlay *__fastcall HSVLiveOverlay::create(GameObject *a1, cocos2d::CCArray *a2)
{
char *v4; // x19
v4 = (char *)operator new(0x2C0u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4);
*(_QWORD *)v4 = off_1007AB098;
*((_QWORD *)v4 + 40) = off_1007AB5C0;
*((_QWORD *)v4 + 41) = &off_1007AB630;
*((_QWORD *)v4 + 42) = off_1007AB648;
*((_QWORD *)v4 + 43) = off_1007AB668;
*((_QWORD *)v4 + 44) = off_1007AB688;
*((_QWORD *)v4 + 51) = off_1007AB6B0;
*((_QWORD *)v4 + 54) = off_1007AB730;
*((_QWORD *)v4 + 79) = off_1007AB750;
*((_OWORD *)v4 + 40) = 0u;
*(_OWORD *)(v4 + 664) = 0u;
*((_DWORD *)v4 + 170) = -1;
*((_QWORD *)v4 + 86) = 0;
*(_DWORD *)(v4 + 695) = 0;
if ( HSVLiveOverlay::init((HSVLiveOverlay *)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (HSVLiveOverlay *)v4;
}