//
// SetupGradientPopup::updateBlendingLabel from 0x100343408 to 0x1003434b8 (176 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::init @ 0x100342e38
// > SetupGradientPopup::onBlending @ 0x100343510
//
// 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 __fastcall SetupGradientPopup::updateBlendingLabel(SetupGradientPopup *a1)
{
int m_blendingMode; // w8
const char *v3; // x1
m_blendingMode = a1->m_blendingMode;
if ( m_blendingMode > 1 )
{
if ( m_blendingMode == 2 )
{
v3 = "Multiply";
goto LABEL_11;
}
if ( m_blendingMode == 3 )
{
v3 = "Invert";
goto LABEL_11;
}
LABEL_8:
v3 = "Normal";
goto LABEL_11;
}
if ( m_blendingMode == -99999 )
{
v3 = "Mixed";
goto LABEL_11;
}
if ( m_blendingMode != 1 )
goto LABEL_8;
v3 = "Additive";
LABEL_11:
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_blendingLabel->setString)(a1->m_blendingLabel, v3);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_blendingLabel, 150.0, 0.7, 0.0);
}