//
// SetupGradientPopup::updateBlendingLabel from 0xb309ac to 0xb30a50 (164 bytes)
//
// 3 xrefs:
// > SetupGradientPopup::onBlending @ 0xb30ab4
// > SetupGradientPopup::init @ 0xb31368
// > ??> @ 0xf0970
//
// This function is hookable on this platform (idp: arm, 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 13:01:43 +0000
//
__int64 __fastcall SetupGradientPopup::updateBlendingLabel(SetupGradientPopup *this)
{
int v2; // w0
char *v3; // x1
v2 = *((_DWORD *)this + 256);
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 **)(_QWORD, char *))(**((_QWORD **)this + 127) + 928LL))(*((_QWORD *)this + 127), v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 127), 150.0, 0.7, 0.0);
}