//
// ColorActionSprite::create from 0x1002d9260 to 0x1002d92e8 (136 bytes)
//
// 0 xrefs:
//
// 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; // rbx
v0 = (char *)operator new(0x158u);
cocos2d::CCNode::CCNode((__int64)v0);
*(_QWORD *)v0 = off_100909C18;
*((_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;
}