//
// CCAnimatedSprite::setOpacity from 0x140044bf0 to 0x140044c4e (94 bytes)
//
// 3 xrefs:
// > ??> @ 0x140707080
// > ??> @ 0x140780558
// > ??> @ 0x14090f7a0
//
// 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:25:30 +0000
//
void __fastcall CCAnimatedSprite::setOpacity(cocos2d::CCSprite *a1, unsigned __int8 a2)
{
__int64 v4; // rcx
__int64 v5; // rcx
v4 = *((_QWORD *)a1 + 45);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)(v4 + 320) + 40LL))(v4 + 320);
v5 = *((_QWORD *)a1 + 46);
if ( v5 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v5 + 320) + 40LL))(v5 + 320, a2);
cocos2d::CCSprite::setOpacity(a1, a2);
}