//
// GJRotateCommandLayer::updateTimesLabel from 0x4df258 to 0x4df2ca (114 bytes)
//
// 2 xrefs:
// > GJRotateCommandLayer::init @ 0x4e0504
// > GJRotateCommandLayer::sliderTimesChanged @ 0x4e0954
//
// 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 GJRotateCommandLayer::updateTimesLabel(GJRotateCommandLayer *a1)
{
const char *m_times360; // r1
cocos2d::CCString *v3; // r0
char *CString; // r1
CCTextInputNode *m_timesInput; // r7
char *v6; // r2
char v7[4]; // [sp+8h] [bp-Ch] BYREF
m_times360 = (const char *)a1->m_times360;
a1->m_disableTextChanged = 1;
if ( m_times360 == (const char *)-99999 )
{
CString = (char *)&unk_939830;
}
else
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_times360);
CString = (char *)cocos2d::CCString::getCString(v3);
}
m_timesInput = a1->m_timesInput;
sub_776584((int)v7, CString);
CCTextInputNode::setString((int)m_timesInput, v7, v6);
sub_774008(v7);
a1->m_disableTextChanged = 0;
}