//
// ColorActionSprite::create from 0xa195a8 to 0xa19644 (156 bytes)
//
// 2 xrefs:
// > GJEffectManager::getColorSprite @ 0xa196a4
// > ??> @ 0xa0570
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:59:36 +0000
//
__int64 __fastcall ColorActionSprite::create(ColorActionSprite *this)
{
__int64 v1; // x19
v1 = operator new(0x158u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_DWORD *)(v1 + 328) = 0;
*(_QWORD *)v1 = &off_14779F0;
*(_QWORD *)(v1 + 336) = 0;
*(_DWORD *)(v1 + 316) = 1132396544;
if ( (unsigned __int8)ColorActionSprite::init((ColorActionSprite *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}