//
// ColorSelectLiveOverlay::create from 0x1000f5090 to 0x1000f5108 (120 bytes)
//
// 2 xrefs:
// > ColorSelectLiveOverlay::createWithObject @ 0x1000f508c
// > ColorSelectLiveOverlay::createWithActions @ 0x1000f5120
//
// 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
//
ColorSelectLiveOverlay *__fastcall ColorSelectLiveOverlay::create(
ColorAction *a1,
ColorAction *a2,
EffectGameObject *a3)
{
ColorSelectLiveOverlay *v6; // x19
v6 = (ColorSelectLiveOverlay *)operator new(0x340u);
sub_1000F6620();
if ( ColorSelectLiveOverlay::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(ColorSelectLiveOverlay *))v6->~ColorSelectLiveOverlay_0)(v6);
return nullptr;
}
return v6;
}