//
// cocos2d::CCSprite::setColor from 0x18008f5a0 to 0x18008f5df (63 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1db8
// > ??> @ 0x1800f22a0
// > ??> @ 0x1800f2e50
// > ??> @ 0x18010a290
// > ??> @ 0x18010d2d8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0000
//
// 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:22:07 +0000
//
void __fastcall cocos2d::CCSprite::setColor(cocos2d::CCSprite *this, const struct cocos2d::_ccColor3B *a2)
{
if ( *((_BYTE *)this + 13) != *(_BYTE *)a2
|| *((_BYTE *)this + 14) != *((_BYTE *)a2 + 1)
|| *((_BYTE *)this + 15) != *((_BYTE *)a2 + 2) )
{
cocos2d::CCNodeRGBA::setColor(this, a2);
cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320));
}
}