//
// CCAnimatedSprite::setOpacity from 0x1002fdeb0 to 0x1002fdf08 (88 bytes)
//
// 3 xrefs:
// > sub_1002FDF08 @ 0x1002fdf0c
// > ??> @ 0x100799940
// > ??> @ 0x1007ea9a8
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall CCAnimatedSprite::setOpacity(CCAnimatedSprite *a1, unsigned __int8 a2)
{
__int64 v2; // x19
cocos2d::CCSprite *m_fbfSprite; // x0
CCPartAnimSprite *m_paSprite; // x0
v2 = a2;
m_fbfSprite = a1->m_fbfSprite;
if ( m_fbfSprite )
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))m_fbfSprite->setOpacity)(m_fbfSprite, a2);
m_paSprite = a1->m_paSprite;
if ( m_paSprite )
((void (__fastcall *)(CCPartAnimSprite *, __int64))m_paSprite->setOpacity)(m_paSprite, v2);
cocos2d::CCSprite::setOpacity(a1, v2);
}