//
// ColorActionSprite::create from 0x499450 to 0x4994a4 (84 bytes)
//
// 1 xrefs:
// > GJEffectManager::getColorSprite @ 0x499c70
//
// 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
//
ColorActionSprite *ColorActionSprite::create()
{
ColorActionSprite *v0; // r4
ColorActionSprite_vtbl *v1; // r3
int *v2; // r0
v0 = (ColorActionSprite *)operator new(0x120u);
cocos2d::CCNode::CCNode(v0);
v0->__vftable = (ColorActionSprite_vtbl *)&off_A6A690;
v0->m_opacity = 255.0;
v0->m_colorID = 0;
v0->m_colorAction = nullptr;
if ( ColorActionSprite::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->__vftable;
v2 = (int *)v0;
v0 = nullptr;
v1->~ColorActionSprite_0((ColorActionSprite *)v2);
}
return v0;
}