//
// SetupGradientPopup::updateBlending from 0x9fa258 to 0x9fa2c0 (104 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::onBlending @ 0x9fa3b8
// > ??> @ 0x5c298
//
// 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 SetupGradientPopup::updateBlending(SetupGradientPopup *a1)
{
EffectGameObject *m_gameObject; // x1
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
LODWORD(m_gameObject[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = a1->m_blendingMode;
}
else
{
v3 = 0;
while ( 1 )
{
v4 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects);
v5 = v3++;
if ( v4 )
break;
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5) + 1824) = a1->m_blendingMode;
}
}
}