//
// GJScaleControl::updateLabelXY from 0x695a18 to 0x695a78 (96 bytes)
//
// 3 xrefs:
// > GJScaleControl::ccTouchMoved @ 0x695ba8
// > GJScaleControl::loadValues @ 0x6ba2b4
// > ??> @ 0xa6728
//
// 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::updateLabelXY(GJScaleControl *a1, float a2)
{
const char **m_scaleLabel; // x20
void (__fastcall *v4)(const char **, const char *); // x21
cocos2d::CCString *v5; // x0
const char *CString; // x0
m_scaleLabel = (const char **)a1->m_scaleLabel;
v4 = *((void (__fastcall **)(const char **, const char *))*m_scaleLabel + 114);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Scale: %.02f", *m_scaleLabel, a2);
CString = cocos2d::CCString::getCString(v5);
v4(m_scaleLabel, CString);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleLabel, 100.0, 0.0, 0.0);
}