//
// cocos2d::CCSprite::setOpacityModifyRGB from 0x18008c630 to 0x18008c64b (27 bytes)
//
// 6 xrefs:
// > ??> @ 0x1800ebce8
// > ??> @ 0x1800ec1c0
// > ??> @ 0x1800ecd40
// > ??> @ 0x180103bf8
// > ??> @ 0x180106c20
// > ??> @ 0x1801438a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCSprite::setOpacityModifyRGB(cocos2d::CCSprite *this, char a2)
{
if ( BYTE4(this->m_pUserObject) != a2 )
{
BYTE4(this->m_pUserObject) = a2;
cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320));
}
}