//
// GJScaleControl::updateLabelXY from 0x100052500 to 0x100052558 (88 bytes)
//
// 0 xrefs:
//
// 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 GJScaleControl::updateLabelXY(GJScaleControl *a1, float a2)
{
cocos2d::CCLabelBMFont *m_scaleLabel; // r14
cocos2d::CCString *v3; // rax
const char *CString; // rax
char v5; // [rsp+0h] [rbp-10h]
m_scaleLabel = a1->m_scaleLabel;
v3 = (cocos2d::CCString *)sub_1007AB580("Scale: %.02f", v5);
CString = cocos2d::CCString::getCString(v3);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *, double))m_scaleLabel->setString)(
m_scaleLabel,
CString,
a2);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleLabel, 100.0, 0.0, 0.0);
}