//
// ColorActionSprite::init from 0x4a6c6c to 0x4a6c98 (44 bytes)
//
// 1 xrefs:
// > ColorActionSprite::create @ 0x49947c
//
// 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
//
bool ColorActionSprite::init(ColorActionSprite *a1)
{
_BOOL4 v2; // r0
v2 = cocos2d::CCNode::init(a1);
if ( v2 )
{
*(_WORD *)&a1->m_copyColor.r = -1;
*(_WORD *)&a1->m_color.r = -1;
a1->m_copyColor.b = -1;
a1->m_color.b = -1;
a1->m_opacity = 255.0;
}
return v2;
}