//
// GJChestSprite::setOpacity from 0x93a530 to 0x93a594 (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJChestSprite::setOpacity @ 0x93a598
// > ??> @ 0x7aac0
// > ??> @ 0x11b2700
//
// 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 GJChestSprite::setOpacity(GJChestSprite *a1, unsigned __int8 a2)
{
unsigned int v2; // w20
cocos2d::CCArray *v4; // x0
cocos2d::CCArray *v5; // x19
__int64 v6; // x0
v2 = a2;
cocos2d::CCSprite::setOpacity(a1, a2);
v4 = a1->getChildren(a1);
v5 = v4;
if ( v4 )
{
if ( (unsigned int)cocos2d::CCArray::count(v4) )
{
v6 = cocos2d::CCArray::objectAtIndex(v5, 0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, v2);
}
}
}