//
// CCExtenderNode::setOpacity from 0x574ce4 to 0x574d50 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x70740
//
// 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 CCExtenderNode::setOpacity(CCExtenderNode *a1, unsigned int a2)
{
unsigned int v3; // w19
cocos2d::CCArray *v4; // x20
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
v3 = 0;
v4 = a1->getChildren(a1);
while ( 1 )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);
v7 = v3++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(v4, v7);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 896LL))(v5, a2);
}
}