//
// SetupMGTrigger::updateEasingRateLabel from 0x69a8c0 to 0x69a95c (156 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::valuePopupClosed @ 0x69a9c4
// > SetupMGTrigger::init @ 0x69b20a
//
// 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:18 +0000
//
int __fastcall SetupMGTrigger::updateEasingRateLabel(SetupMGTrigger *this, const char *a2)
{
cocos2d::CCString *v3; // r0
const char *CString; // r7
size_t v5; // r0
char *v6; // r1
int v8[2]; // [sp+0h] [bp-14h] BYREF
char *v9; // [sp+8h] [bp-Ch]
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.02f",
a2,
*((float *)this + 183));
v8[0] = 0;
v8[1] = 0;
v9 = nullptr;
CString = (const char *)cocos2d::CCString::getCString(v3);
v5 = strlen(CString);
std::string::__init(v8, CString, v5);
if ( *((float *)this + 183) == -99999.0 )
std::string::assign(v8, "-");
if ( (v8[0] & 1) != 0 )
v6 = v9;
else
v6 = (char *)v8 + 1;
(*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 185) + 464))(
*((_DWORD *)this + 185),
v6,
LOBYTE(v8[0]) << 31);
return std::string::~string((int)v8);
}