//
// SetupGradientPopup::onBlending from 0x550cc4 to 0x550cf6 (50 bytes)
//
// 0 xrefs:
//
// 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::onBlending(SetupGradientPopup *a1, cocos2d::CCObject *a2)
{
int v3; // r0
int m_blendingMode; // r3
unsigned int v5; // r3
v3 = a2->getTag(a2);
m_blendingMode = a1->m_blendingMode;
if ( v3 == 1 )
v5 = m_blendingMode + 1;
else
v5 = m_blendingMode - 1;
a1->m_blendingMode = __usat(2u, v5);
SetupGradientPopup::updateBlending(a1);
SetupGradientPopup::updateBlendingLabel(a1);
}