// // ConfigureValuePopup::updateTextInputLabel from 0x100150480 to 0x10015055c (220 bytes) // // 3 xrefs: // > ConfigureValuePopup::init @ 0x10015029c // > ConfigureValuePopup::sliderChanged @ 0x100150410 // > ConfigureValuePopup::onArrow @ 0x10015047c // // 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 ConfigureValuePopup::updateTextInputLabel(ConfigureValuePopup *a1) { float m_value; // s0 cocos2d::CCString *v3; // x0 const char *CString; // x0 CCTextInputNode *m_input; // x20 std::string __p; // [xsp+10h] [xbp-40h] BYREF std::string v7; // [xsp+28h] [xbp-28h] BYREF a1->m_disableTextDelegate = 1; memset(&v7, 0, sizeof(v7)); m_value = a1->m_value; if ( a1->m_type == 1 ) v3 = (cocos2d::CCString *)sub_100268F4C("%i", (int)m_value); else v3 = (cocos2d::CCString *)sub_100268F4C("%.02f", m_value); CString = cocos2d::CCString::getCString(v3); std::string::assign(&v7, CString); m_input = a1->m_input; if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__p, v7.__r_.__value_.__l.__data_, v7.__r_.__value_.__l.__size_); else __p = v7; CCTextInputNode::setString(m_input, &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); a1->m_disableTextDelegate = 0; if ( SHIBYTE(v7.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v7.__r_.__value_.__l.__data_); }