//
// GJChestSprite::setOpacity from 0x1001c824c to 0x1001c82b4 (104 bytes)
//
// 2 xrefs:
// > sub_1001C82B4 @ 0x1001c82b8
// > ??> @ 0x1007b8dc8
//
// 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 GJChestSprite::setOpacity(GJChestSprite *a1, unsigned __int8 a2)
{
__int64 v2; // x19
__int64 v4; // x0
__int64 v5; // x20
__int64 v6; // x0
v2 = a2;
cocos2d::CCSprite::setOpacity(a1, a2);
v4 = ((__int64 (__fastcall *)(GJChestSprite *))a1->getChildren)(a1);
if ( v4 )
{
v5 = v4;
if ( (unsigned int)sub_10024A36C(v4) )
{
v6 = sub_10024A388(v5, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 896LL))(v6, v2);
}
}
}