//
// SetupGradientPopup::updateBlendingLabel from 0x550c50 to 0x550ca4 (84 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::onBlending @ 0x550cf2
// > SetupGradientPopup::init @ 0x55139c
//
// 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::updateBlendingLabel(SetupGradientPopup *a1)
{
int m_blendingMode; // r3
const char *v3; // r1
m_blendingMode = a1->m_blendingMode;
switch ( m_blendingMode )
{
case -99999:
v3 = "Mixed";
break;
case 2:
v3 = "Multiply";
break;
case 3:
v3 = "Invert";
break;
case 1:
v3 = "Additive";
break;
default:
v3 = "Normal";
break;
}
a1->m_blendingLabel->setString(a1->m_blendingLabel, (const unsigned __int8 *)v3);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_blendingLabel, 150.0, 0.7, 0.0);
}