//
// SetupMGTrigger::updateEasingRateLabel from 0x1002f29c4 to 0x1002f2a68 (164 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::init @ 0x1002f21f0
// > SetupMGTrigger::valuePopupClosed @ 0x1002f3018
//
// 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::updateEasingRateLabel(SetupMGTrigger *a1)
{
cocos2d::CCString *v2; // x0
char *CString; // x0
std::string *v4; // x1
std::string v5; // [xsp+8h] [xbp-28h] BYREF
v2 = (cocos2d::CCString *)sub_100268F4C("%.02f", a1->m_mgEasingRate);
CString = (char *)cocos2d::CCString::getCString(v2);
sub_100009900(&v5, CString);
if ( a1->m_mgEasingRate == -99999.0 )
std::string::assign(&v5, "-");
if ( (v5.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v4 = &v5;
else
v4 = (std::string *)v5.__r_.__value_.__r.__words[0];
((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string *))a1->m_mgEasingRateLabel->setString)(
a1->m_mgEasingRateLabel,
v4);
if ( SHIBYTE(v5.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v5.__r_.__value_.__l.__data_);
}