//
// CCAnimatedSprite::setColor from 0x140044c50 to 0x140044cb5 (101 bytes)
//
// 5 xrefs:
// > ??> @ 0x140707058
// > ??> @ 0x14077f678
// > ??> @ 0x14077f718
// > ??> @ 0x140780530
// > ??> @ 0x14090f7ac
//
// 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 11:25:30 +0000
//
void __fastcall CCAnimatedSprite::setColor(cocos2d::CCSprite *a1, __int16 *a2)
{
__int64 v4; // rcx
__int64 v5; // rcx
__int16 v6; // [rsp+30h] [rbp+8h] BYREF
char v7; // [rsp+32h] [rbp+Ah]
v4 = *((_QWORD *)a1 + 45);
if ( v4 )
(**(void (__fastcall ***)(__int64))(v4 + 320))(v4 + 320);
v5 = *((_QWORD *)a1 + 46);
if ( v5 )
{
v6 = *a2;
v7 = *((_BYTE *)a2 + 2);
CCPartAnimSprite::setColor(v5, &v6);
}
cocos2d::CCSprite::setColor(a1, (const struct cocos2d::_ccColor3B *)a2);
}