//
// ConfigureValuePopup::updateTextInputLabel from 0xa66fb8 to 0xa67110 (344 bytes)
//
// 5 xrefs:
// > ConfigureValuePopup::sliderChanged @ 0xa67150
// > ConfigureValuePopup::onArrow @ 0xa671c8
// > ConfigureValuePopup::onArrow @ 0xa671e8
// > ConfigureValuePopup::init @ 0xa67884
// > ??> @ 0x5c950
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:18 +0000
//
__int64 __fastcall ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *this)
{
const char *v2; // x1
__int64 v3; // x0
float v4; // s0
cocos2d::CCString *v5; // x0
char *CString; // x0
_QWORD *v7; // x23
char v8; // w0
__int64 v10; // [xsp+48h] [xbp+48h] BYREF
size_t v11; // [xsp+50h] [xbp+50h]
void *v12; // [xsp+58h] [xbp+58h]
__int64 v13; // [xsp+60h] [xbp+60h] BYREF
size_t v14; // [xsp+68h] [xbp+68h]
void *v15; // [xsp+70h] [xbp+70h]
__int64 v16; // [xsp+78h] [xbp+78h]
v2 = (const char *)*((unsigned int *)this + 165);
v10 = 0;
v3 = _stack_chk_guard;
v11 = 0;
*((_BYTE *)this + 677) = 1;
v16 = v3;
v12 = nullptr;
v4 = *((float *)this + 166);
if ( (_DWORD)v2 == 1 )
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(unsigned int)(int)v4);
else
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v2, v4);
CString = (char *)cocos2d::CCString::getCString(v5);
std::string::assign(&v10, CString);
v13 = 0;
v14 = 0;
v15 = nullptr;
v7 = *((_QWORD **)this + 86);
if ( (v10 & 1) != 0 )
{
std::string::__init(&v13, v12, v11);
}
else
{
v15 = v12;
v13 = v10;
v14 = v11;
}
CCTextInputNode::setString(v7, (char *)&v13);
if ( (v13 & 1) != 0 )
operator delete(v15);
v8 = v10;
*((_BYTE *)this + 677) = 0;
if ( (v8 & 1) != 0 )
operator delete(v12);
return _stack_chk_guard;
}