//
// SetupGradientPopup::updateBlendingLabel from 0x687138 to 0x68718c (84 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::onBlending @ 0x6871da
// > SetupGradientPopup::init @ 0x68785e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:05 +0000
//
int __fastcall SetupGradientPopup::updateBlendingLabel(SetupGradientPopup *this)
{
int v2; // r3
const char *v3; // r1
v2 = *((_DWORD *)this + 179);
switch ( v2 )
{
case -99999:
v3 = "Mixed";
break;
case 2:
v3 = "Multiply";
break;
case 3:
v3 = "Invert";
break;
case 1:
v3 = "Additive";
break;
default:
v3 = "Normal";
break;
}
(*(void (__fastcall **)(_DWORD, const char *))(**((_DWORD **)this + 178) + 464))(*((_DWORD *)this + 178), v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 178), 150.0, 0.7, 0.0);
}