//
// ConfigureValuePopup::updateTextInputLabel from 0x602aec to 0x602b98 (172 bytes)
//
// 3 xrefs:
// > ConfigureValuePopup::sliderChanged @ 0x602bd2
// > ConfigureValuePopup::onArrow @ 0x602c3e
// > ConfigureValuePopup::init @ 0x6032c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:42 +0000
//
int __fastcall ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *this, const char *a2)
{
float v3; // s15
cocos2d::CCString *v4; // r0
char *CString; // r0
int v6; // r8
int v8[3]; // [sp+4h] [bp-1Ch] BYREF
int v9[3]; // [sp+10h] [bp-10h] BYREF
v3 = *((float *)this + 131);
*((_BYTE *)this + 537) = 1;
memset(v8, 0, sizeof(v8));
if ( *((_DWORD *)this + 130) == 1 )
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)(int)v3);
else
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", a2, v3);
CString = (char *)cocos2d::CCString::getCString(v4);
std::string::assign(v8, CString);
v6 = *((_DWORD *)this + 136);
std::string::basic_string(v9, (int)v8);
CCTextInputNode::setString(v6, (int)v9);
std::string::~string((int)v9);
*((_BYTE *)this + 537) = 0;
return std::string::~string((int)v8);
}