//
// cocos2d::CCSprite::setOpacityModifyRGB from 0x18008f830 to 0x18008f84b (27 bytes)
//
// 6 xrefs:
// > ??> @ 0x1800f1de8
// > ??> @ 0x1800f22d0
// > ??> @ 0x1800f2e80
// > ??> @ 0x18010a2c0
// > ??> @ 0x18010d308
// > ??> @ 0x18014cf68
//
// 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::setOpacityModifyRGB(cocos2d::CCSprite *this, char a2)
{
if ( *((_BYTE *)this + 236) != a2 )
{
*((_BYTE *)this + 236) = a2;
cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320));
}
}