//
// cocos2d::CCSprite::setOpacityModifyRGB from 0x7f1778 to 0x7f178a (18 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCSprite::setOpacityModifyRGB @ 0x7f178e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:04 +0000
//
cocos2d::CCSprite *__fastcall cocos2d::CCSprite::setOpacityModifyRGB(cocos2d::CCSprite *this, int a2)
{
if ( *((unsigned __int8 *)this + 468) != a2 )
{
*((_BYTE *)this + 468) = a2;
return (cocos2d::CCSprite *)cocos2d::CCSprite::updateColor(this);
}
return this;
}