//
// SetupGradientPopup::updateBlendingLabel from 0x1405b75c0 to 0x1405b764b (139 bytes)
//
// 5 xrefs:
// > SetupGradientPopup::init @ 0x1405b6c42
// > SetupGradientPopup::onBlending @ 0x1405b7564
// > SetupGradientPopup::onBlending @ 0x1405b75bb
// > ??> @ 0x14092dd58
// > ??> @ 0x14092dd64
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:44 +0000
//
void __fastcall SetupGradientPopup::updateBlendingLabel(__int64 a1)
{
int v1; // edx
const char *v2; // r8
int v4; // edx
int v5; // edx
v1 = *(_DWORD *)(a1 + 1008);
v2 = "Mixed";
if ( v1 != -99999 )
{
v4 = v1 - 1;
if ( v4 )
{
v5 = v4 - 1;
if ( v5 )
{
if ( v5 == 1 )
v2 = "Invert";
else
v2 = "Normal";
}
else
{
v2 = "Multiply";
}
}
else
{
v2 = "Additive";
}
}
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 1000) + 360LL))(*(_QWORD *)(a1 + 1000) + 360LL, v2);
cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 1000), 150.0, 0.69999999, 0.0);
}