//
// GJPFollowCommandLayer::updateXModLabel from 0x1001600b8 to 0x10016014c (148 bytes)
//
// 2 xrefs:
// > GJPFollowCommandLayer::init @ 0x10015fcbc
// > GJPFollowCommandLayer::sliderXModChanged @ 0x10015ff60
//
// 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 GJPFollowCommandLayer::updateXModLabel(GJPFollowCommandLayer *a1)
{
float m_speed; // s0
cocos2d::CCString *v3; // x0
char *CString; // x1
CCTextInputNode *m_speedInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
m_speed = a1->m_speed;
if ( m_speed == -99999.0 )
{
CString = "";
}
else
{
v3 = (cocos2d::CCString *)sub_100268F4C("%0.3f", m_speed);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_speedInput = a1->m_speedInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_speedInput, __p);
if ( v7 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}