//
// GJFollowCommandLayer::updateYModLabel from 0x100137670 to 0x100137704 (148 bytes)
//
// 2 xrefs:
// > GJFollowCommandLayer::init @ 0x100137110
// > GJFollowCommandLayer::sliderYModChanged @ 0x100137398
//
// 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 GJFollowCommandLayer::updateYModLabel(GJFollowCommandLayer *a1)
{
float m_yMod; // s0
cocos2d::CCString *v3; // x0
char *CString; // x1
CCTextInputNode *m_yModInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
m_yMod = a1->m_yMod;
if ( m_yMod == -99999.0 )
{
CString = "";
}
else
{
v3 = (cocos2d::CCString *)sub_100268F4C("%0.2f", m_yMod);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_yModInput = a1->m_yModInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_yModInput, __p);
if ( v7 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}