//
// CCAnimatedSprite::setColor from 0x10033c780 to 0x10033c7d1 (81 bytes)
//
// 4 xrefs:
// > ??> @ 0x100b1c5c8
// > ??> @ 0x100b1d180
// > ??> @ 0x100b87b60
// > ??> @ 0x100b88128
//
// This function is hookable on this platform (idp: pc, 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:28:42 +0000
//
__int64 __fastcall CCAnimatedSprite::setColor(__int64 a1, unsigned __int16 *a2)
{
__int64 v3; // rdi
__int64 v4; // rdi
v3 = *(_QWORD *)(a1 + 664);
if ( v3 )
(*(void (__fastcall **)(__int64, unsigned __int16 *))(*(_QWORD *)v3 + 960LL))(v3, a2);
v4 = *(_QWORD *)(a1 + 672);
if ( v4 )
CCPartAnimSprite::setColor(v4, *a2 | (*((unsigned __int8 *)a2 + 2) << 16));
return cocos2d::CCSprite::setColor(a1, (__int64)a2);
}