//
// GJChestSprite::setOpacity from 0x4e9e40 to 0x4e9e76 (54 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJChestSprite::setOpacity @ 0x4e9e7a
//
// 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)
{
int v3; // r5
cocos2d::CCArray *v4; // r0
cocos2d::CCArray *v5; // r4
int v6; // r0
v3 = a2;
cocos2d::CCSprite::setOpacity(a1, a2);
v4 = a1->getChildren(a1);
v5 = v4;
if ( v4 )
{
if ( cocos2d::CCArray::count(v4) )
{
v6 = cocos2d::CCArray::objectAtIndex(v5, 0);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 448))(v6, v3);
}
}
}