//
// CCAnimatedSprite::setOpacity from 0x571934 to 0x57198c (88 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x571990
// > ??> @ 0x5efe0
// > ??> @ 0x1136820
// > ??> @ 0x11b0400
//
// 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 CCAnimatedSprite::setOpacity(CCAnimatedSprite *a1, unsigned __int8 a2)
{
cocos2d::CCSprite *m_fbfSprite; // x0
int v4; // w20
CCPartAnimSprite *m_paSprite; // x0
m_fbfSprite = a1->m_fbfSprite;
v4 = a2;
if ( m_fbfSprite )
m_fbfSprite->setOpacity(m_fbfSprite, a2);
m_paSprite = a1->m_paSprite;
if ( m_paSprite )
m_paSprite->setOpacity(m_paSprite, v4);
cocos2d::CCSprite::setOpacity(a1, v4);
}