//
// CCAnimatedSprite::setColor from 0x140041140 to 0x1400411a5 (101 bytes)
//
// 5 xrefs:
// > ??> @ 0x14052c4e8
// > ??> @ 0x14057c4c0
// > ??> @ 0x14057c560
// > ??> @ 0x14057dd68
// > ??> @ 0x1406c42a8
//
// 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
//
void CCAnimatedSprite::setColor(CCAnimatedSprite *a1, const cocos2d::ccColor3B *a2)
{
__int64 v4; // rcx
cocos2d::CCSpriteBatchNode *m_pobBatchNode; // rcx
cocos2d::ccColor3B v6; // [rsp+30h] [rbp+8h] BYREF
v4 = *(_QWORD *)&a1->m_uAtlasIndex;
if ( v4 )
(**(void (__fastcall ***)(__int64))(v4 + 320))(v4 + 320);
m_pobBatchNode = a1->m_pobBatchNode;
if ( m_pobBatchNode )
{
v6 = *a2;
CCPartAnimSprite::setColor((CCPartAnimSprite *)m_pobBatchNode, &v6);
}
cocos2d::CCSprite::setColor(a1, a2);
}