//
// ConfigureValuePopup::updateTextInputLabel from 0x4cf928 to 0x4cf9d6 (174 bytes)
//
// 3 xrefs:
// > ConfigureValuePopup::init @ 0x4d0020
// > ConfigureValuePopup::sliderChanged @ 0x4d0216
// > ConfigureValuePopup::onArrow @ 0x4d0282
//
// 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 ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *a1)
{
const char *v1; // r1
float m_value; // s15
cocos2d::CCString *v4; // r0
char *CString; // r0
CCTextInputNode *m_input; // r8
char *v7; // r2
void *v8; // [sp+4h] [bp-Ch] BYREF
_DWORD v9[2]; // [sp+8h] [bp-8h] BYREF
m_value = a1->m_value;
a1->m_disableTextDelegate = 1;
v8 = &unk_ACDDA8;
if ( a1->m_type == 1 )
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)(int)m_value);
else
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.02f",
v1,
m_value,
a1,
v8,
v9[0],
v9[1]);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_7753D4((int)&v8, CString);
m_input = a1->m_input;
sub_775C20(v9);
CCTextInputNode::setString((int)m_input, (char *)v9, v7);
sub_774008(v9);
a1->m_disableTextDelegate = 0;
sub_774008(&v8);
}