//
// CCExtenderNode::setOpacity from 0x690158 to 0x6901c4 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x976a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:35 +0000
//
cocos2d::CCArray *__fastcall CCExtenderNode::setOpacity(CCExtenderNode *this, unsigned int a2)
{
unsigned int v3; // w19
cocos2d::CCArray *v4; // x20
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
cocos2d::CCArray *result; // x0
v3 = 0;
v4 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(CCExtenderNode *))(*(_QWORD *)this + 488LL))(this);
while ( 1 )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);
v7 = v3;
result = v4;
++v3;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(v4, v7);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 912LL))(v5, a2);
}
return result;
}