//
// cocos2d::CCSprite::setColor from 0xd88390 to 0xd883f0 (96 bytes)
//
// 81 xrefs:
// > CCAnimatedSprite::setColor @ 0x68d768
// > CCPartAnimSprite::setColor @ 0x692a28
// > EmoteSprite::initWithDef @ 0x6e15ac
// > PlayerObject::setColor @ 0x74dadc
// > AnimatedGameObject::setObjectColor @ 0x86fe44
// > GJChestSprite::setColor @ 0xa8a0ac
// > `non-virtual thunk to'cocos2d::CCSprite::setColor @ 0xd883f4
// > ??> @ 0x4cde0
// > ??> @ 0x14139a0
// > ??> @ 0x1414d10
// > ??> @ 0x1417580
// > ??> @ 0x1417b20
// > ??> @ 0x141b440
// > ??> @ 0x141ba70
// > ??> @ 0x141cef0
// > ??> @ 0x1421b20
// > ??> @ 0x14220d0
// > ??> @ 0x1423a90
// > ??> @ 0x1424040
// > ??> @ 0x1428ff0
// > ??> @ 0x1433e60
// > ??> @ 0x1434450
// > ??> @ 0x1434c30
// > ??> @ 0x1435440
// > ??> @ 0x143a3d0
// > ??> @ 0x14437a0
// > ??> @ 0x1443fb0
// > ??> @ 0x14447c0
// > ??> @ 0x1444fd0
// > ??> @ 0x14457e0
// > ??> @ 0x1445ff0
// > ??> @ 0x1446800
// > ??> @ 0x1447010
// > ??> @ 0x14477f0
// > ??> @ 0x1448000
// > ??> @ 0x1448810
// > ??> @ 0x1449020
// > ??> @ 0x1449830
// > ??> @ 0x144a080
// > ??> @ 0x144a890
// > ??> @ 0x144b0a0
// > ??> @ 0x144b8b0
// > ??> @ 0x144c0c0
// > ??> @ 0x144c8e0
// > ??> @ 0x144d0f0
// > ??> @ 0x144d900
// > ??> @ 0x144e110
// > ??> @ 0x144e920
// > ??> @ 0x144f130
// > ??> @ 0x144f940
// > ??> @ 0x1450150
// > ??> @ 0x1450960
// > ??> @ 0x1451170
// > ??> @ 0x1451980
// > ??> @ 0x1452190
// > ??> @ 0x14529a0
// > ??> @ 0x14531b0
// > ??> @ 0x14539c0
// > ??> @ 0x14541d0
// > ??> @ 0x14549e0
// > ??> @ 0x14551f0
// > ??> @ 0x1455a00
// > ??> @ 0x1456210
// > ??> @ 0x1456a20
// > ??> @ 0x1457230
// > ??> @ 0x1457a40
// > ??> @ 0x1458250
// > ??> @ 0x1458a60
// > ??> @ 0x1459290
// > ??> @ 0x145b720
// > ??> @ 0x1477810
// > ??> @ 0x14798c0
// > ??> @ 0x1491c00
// > ??> @ 0x14c1ec0
// > ??> @ 0x14d98c0
// > ??> @ 0x150cce0
// > ??> @ 0x1517ba0
// > ??> @ 0x1518140
// > ??> @ 0x1518cc0
// > ??> @ 0x152e720
// > ??> @ 0x152ff20
//
// 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 13:08:14 +0000
//
unsigned __int8 *__fastcall cocos2d::CCSprite::setColor(unsigned __int8 *result, __int16 *a2)
{
cocos2d::CCSprite *v2; // x19
if ( result[333] != *(unsigned __int8 *)a2
|| result[334] != *((unsigned __int8 *)a2 + 1)
|| result[335] != *((unsigned __int8 *)a2 + 2) )
{
v2 = (cocos2d::CCSprite *)result;
cocos2d::CCNodeRGBA::setColor((__int64)result, a2);
return (unsigned __int8 *)cocos2d::CCSprite::updateColor(v2);
}
return result;
}