//
// SetupMGTrigger::updateEasingLabel from 0x100509d00 to 0x100509d9c (156 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::init @ 0x100509521
// > SetupMGTrigger::onEasing @ 0x100509ae2
//
// 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)
{
char *v1; // r14
EasingType m_mgEasingType; // esi
__int128 v3; // [rsp+8h] [rbp-48h] BYREF
char *v4; // [rsp+18h] [rbp-38h]
__int128 v5; // [rsp+20h] [rbp-30h] BYREF
void *__p; // [rsp+30h] [rbp-20h]
strcpy((char *)&v5, "\nMixed");
v1 = (char *)&v5 + 1;
m_mgEasingType = a1->m_mgEasingType;
if ( m_mgEasingType != -99999 )
{
GameToolbox::easeToText((__int64)&v3, m_mgEasingType);
__p = v4;
v5 = v3;
if ( (v3 & 1) != 0 )
v1 = v4;
}
((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))a1->m_mgEasingLabel->setString)(a1->m_mgEasingLabel, v1);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_mgEasingLabel, 150.0, 0.69999999, 0.0);
if ( (v5 & 1) != 0 )
operator delete(__p);
}