//
// SetupMGTrigger::updateEasingLabel from 0x1002f2c98 to 0x1002f2d54 (188 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::init @ 0x1002f273c
// > SetupMGTrigger::onEasing @ 0x1002f2b74
//
// 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 SetupMGTrigger::updateEasingLabel(SetupMGTrigger *a1)
{
EasingType m_mgEasingType; // w0
void **v3; // x1
__int128 v4; // [xsp+8h] [xbp-48h] BYREF
__int64 v5; // [xsp+18h] [xbp-38h]
void *__p[2]; // [xsp+20h] [xbp-30h] BYREF
__int64 v7; // [xsp+30h] [xbp-20h]
sub_100009900(__p, "Mixed");
m_mgEasingType = a1->m_mgEasingType;
if ( m_mgEasingType != -99999 )
{
GameToolbox::easeToText(m_mgEasingType, &v4);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
*(_OWORD *)__p = v4;
v7 = v5;
}
if ( v7 >= 0 )
v3 = __p;
else
v3 = (void **)__p[0];
((void (__fastcall *)(cocos2d::CCLabelBMFont *, void **))a1->m_mgEasingLabel->setString)(a1->m_mgEasingLabel, v3);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_mgEasingLabel, 150.0, 0.7, 0.0);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
}