//
// SetupGradientPopup::updateBlendingLabel from 0x9fa2c0 to 0x9fa364 (164 bytes)
//
// 3 xrefs:
// > SetupGradientPopup::onBlending @ 0x9fa3c8
// > SetupGradientPopup::init @ 0x9fad58
// > ??> @ 0xb8560
//
// 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; // w0
char *v3; // x1
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);
}