//
// GJUINode::setOpacity from 0x30dcac to 0x30dcd4 (40 bytes)
//
// 3 xrefs:
// > GJUINode::init @ 0x30ddbc
// > GJUINode::loadFromConfig @ 0x30df08
// > UIOptionsLayer::valueDidChange @ 0x4b2e68
//
// 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 GJUINode::setOpacity(GJUINode *a1, unsigned __int8 a2)
{
int v3; // r5
cocos2d::CCSprite *m_secondSprite; // r0
v3 = a2;
((void (__fastcall *)(cocos2d::CCSprite *))a1->m_firstSprite->setOpacity)(a1->m_firstSprite);
m_secondSprite = a1->m_secondSprite;
if ( m_secondSprite )
m_secondSprite->setOpacity(m_secondSprite, v3);
}