//
// CCAnimatedSprite::setColor from 0x10039a8c8 to 0x10039a920 (88 bytes)
//
// 5 xrefs:
// > sub_10039A920 @ 0x10039a924
// > ??> @ 0x1008eed98
// > ??> @ 0x100922058
// > ??> @ 0x100922620
// > ??> @ 0x100942b10
//
// 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 11:03:43 +0000
//
unsigned __int8 *__fastcall CCAnimatedSprite::setColor(__int64 a1, unsigned __int8 *a2)
{
__int64 v4; // x0
__int64 v5; // x0
v4 = *(_QWORD *)(a1 + 664);
if ( v4 )
(*(void (__fastcall **)(__int64, unsigned __int8 *))(*(_QWORD *)v4 + 960LL))(v4, a2);
v5 = *(_QWORD *)(a1 + 672);
if ( v5 )
sub_100087CF4(v5, *(unsigned __int16 *)a2 | (a2[2] << 16));
return cocos2d::CCSprite::setColor((unsigned __int8 *)a1, a2);
}