//
// SetupGradientPopup::updateBlendingLabel from 0x1006c5b50 to 0x1006c5bda (138 bytes)
//
// 0 xrefs:
//
// 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 12:35:33 +0000
//
__int64 __fastcall SetupGradientPopup::updateBlendingLabel(__int64 a1)
{
int v1; // eax
const char *v2; // rsi
v1 = *(_DWORD *)(a1 + 1024);
if ( v1 > 1 )
{
if ( v1 == 2 )
{
v2 = "Multiply";
goto LABEL_11;
}
if ( v1 == 3 )
{
v2 = "Invert";
goto LABEL_11;
}
LABEL_8:
v2 = "Normal";
goto LABEL_11;
}
if ( v1 == -99999 )
{
v2 = "Mixed";
goto LABEL_11;
}
if ( v1 != 1 )
goto LABEL_8;
v2 = "Additive";
LABEL_11:
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 1016) + 928LL))(*(_QWORD *)(a1 + 1016), v2);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 1016), 150.0, (__m128)0x3F333333u, (__m128)0LL);
}