//
// ColorActionSprite::create from 0x8bf448 to 0x8bf4e4 (156 bytes)
//
// 2 xrefs:
// > GJEffectManager::getColorSprite @ 0x8bf544
// > ??> @ 0x77c58
//
// 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()
{
__int64 v0; // x19
v0 = operator new(0x158u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);
*(_DWORD *)(v0 + 328) = 0;
*(_QWORD *)v0 = &off_1192870;
*(_QWORD *)(v0 + 336) = 0;
*(_DWORD *)(v0 + 316) = 1132396544;
if ( ColorActionSprite::init((ColorActionSprite *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (ColorActionSprite *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}