//
// CCAnimatedSprite::setColor from 0x3c3f20 to 0x3c3f58 (56 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CCAnimatedSprite::setColor @ 0x3c3f5c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:33 +0000
//
int __fastcall CCAnimatedSprite::setColor(int a1, unsigned __int8 *a2, int a3, int a4)
{
int v5; // r0
int v7; // r0
v5 = *(_DWORD *)(a1 + 540);
if ( v5 )
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 480))(v5);
v7 = *(_DWORD *)(a1 + 544);
if ( v7 )
CCPartAnimSprite::setColor(v7, *a2 | (a2[1] << 8) | (a2[2] << 16));
return cocos2d::CCSprite::setColor(a1, a2, a3, a4);
}