//
// cocos2d::CCSprite::setColor from 0x1002d5d48 to 0x1002d5dac (100 bytes)
//
// 76 xrefs:
// > sub_100087CF4 @ 0x100087d1c
// > GJChestSprite::setColor @ 0x10025ddac
// > PlayerObject::setColor @ 0x1002c8e88
// > sub_1002D5DAC @ 0x1002d5db0
// > CCAnimatedSprite::setColor @ 0x10039a91c
// > AnimatedGameObject::setObjectColor @ 0x10042a348
// > EmoteSprite::initWithDef @ 0x1004dc5e0
// > ??> @ 0x1008aec30
// > ??> @ 0x1008c0130
// > ??> @ 0x1008c0a88
// > ??> @ 0x1008c1c98
// > ??> @ 0x1008c4260
// > ??> @ 0x1008c7cb0
// > ??> @ 0x1008c8260
// > ??> @ 0x1008d4520
// > ??> @ 0x1008e0028
// > ??> @ 0x100904110
// > ??> @ 0x1009046d8
// > ??> @ 0x10090aad0
// > ??> @ 0x100911b10
// > ??> @ 0x10091ccd0
// > ??> @ 0x10091fcd8
// > ??> @ 0x1009207d8
// > ??> @ 0x100928708
// > ??> @ 0x100928f00
// > ??> @ 0x100929720
// > ??> @ 0x10093cd00
// > ??> @ 0x100942548
// > ??> @ 0x100944dd8
// > ??> @ 0x100947d48
// > ??> @ 0x10094d6e0
// > ??> @ 0x10094df28
// > ??> @ 0x10094e730
// > ??> @ 0x10094ef38
// > ??> @ 0x10094f740
// > ??> @ 0x10094ff48
// > ??> @ 0x100950750
// > ??> @ 0x100950f58
// > ??> @ 0x100951750
// > ??> @ 0x100951f70
// > ??> @ 0x1009527e8
// > ??> @ 0x100953008
// > ??> @ 0x100953828
// > ??> @ 0x100954048
// > ??> @ 0x100954868
// > ??> @ 0x100955088
// > ??> @ 0x1009558a8
// > ??> @ 0x1009560c8
// > ??> @ 0x1009568e8
// > ??> @ 0x100957108
// > ??> @ 0x100957940
// > ??> @ 0x1009581a8
// > ??> @ 0x1009589e0
// > ??> @ 0x100959218
// > ??> @ 0x100959a50
// > ??> @ 0x10095a288
// > ??> @ 0x10095aaa8
// > ??> @ 0x10095b2c8
// > ??> @ 0x10095bae8
// > ??> @ 0x10095c308
// > ??> @ 0x10095cb28
// > ??> @ 0x10095d348
// > ??> @ 0x10095db68
// > ??> @ 0x10095e388
// > ??> @ 0x10095eba8
// > ??> @ 0x10095f3c8
// > ??> @ 0x10095fbe8
// > ??> @ 0x100960408
// > ??> @ 0x100960c28
// > ??> @ 0x100961448
// > ??> @ 0x100961c68
// > ??> @ 0x100962488
// > ??> @ 0x100962ca8
// > ??> @ 0x100963c60
// > ??> @ 0x10096a078
// > ??> @ 0x10096e0a8
//
// 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:02:41 +0000
//
unsigned __int8 *__fastcall cocos2d::CCSprite::setColor(unsigned __int8 *result, unsigned __int8 *a2)
{
__int64 v2; // x19
v2 = (__int64)result;
if ( result[333] != *a2 || result[334] != a2[1] || result[335] != a2[2] )
{
cocos2d::CCNodeRGBA::setColor(result);
return (unsigned __int8 *)cocos2d::CCSprite::updateColor(v2);
}
return result;
}