//
// ColorActionSprite::create from 0x10000d2b8 to 0x10000d344 (140 bytes)
//
// 1 xrefs:
// > GJEffectManager::getColorSprite @ 0x10000f194
//
// 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 *__fastcall ColorActionSprite::create()
{
char *v0; // x19
v0 = (char *)operator new(0x158u);
cocos2d::CCNode::CCNode();
*(_QWORD *)v0 = &off_100763860;
*((_DWORD *)v0 + 79) = 1132396544;
*((_DWORD *)v0 + 82) = 0;
*((_QWORD *)v0 + 42) = 0;
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )
{
*((_WORD *)v0 + 162) = -1;
*(_QWORD *)(v0 + 316) = -3162570752LL;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (ColorActionSprite *)v0;
}