//
// GJScaleControl::updateLabelX from 0x386e04 to 0x386e42 (62 bytes)
//
// 2 xrefs:
// > GJScaleControl::ccTouchMoved @ 0x3870e4
// > GJScaleControl::loadValues @ 0x3a0262
//
// 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 GJScaleControl::updateLabelX(GJScaleControl *a1, float a2)
{
cocos2d::CCLabelBMFont *m_scaleXLabel; // r5
void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r6
cocos2d::CCString *v5; // r0
const char *CString; // r0
m_scaleXLabel = a1->m_scaleXLabel;
setString = m_scaleXLabel->setString;
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"ScaleX %.02f",
(const char *)LODWORD(a2),
a2);
CString = cocos2d::CCString::getCString(v5);
setString(m_scaleXLabel, (const unsigned __int8 *)CString);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleXLabel, 100.0, 0.0, 0.0);
}