// // ConfigureValuePopup::updateTextInputLabel from 0x100625460 to 0x100625539 (217 bytes) // // 3 xrefs: // > ConfigureValuePopup::init @ 0x100625285 // > ConfigureValuePopup::sliderChanged @ 0x1006253f5 // > ConfigureValuePopup::onArrow @ 0x100625455 // // 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) { __m128 m_value_low; // xmm0 cocos2d::CCString *v2; // rax const char *CString; // rax CCTextInputNode *m_input; // r14 __int128 v5; // [rsp+0h] [rbp-50h] BYREF void *__p; // [rsp+10h] [rbp-40h] std::string v7; // [rsp+20h] [rbp-30h] BYREF a1->m_disableTextDelegate = 1; memset(&v7, 0, sizeof(v7)); m_value_low = (__m128)LODWORD(a1->m_value); if ( a1->m_type == 1 ) { v2 = (cocos2d::CCString *)sub_1007AB580("%i", v5); } else { *(double *)m_value_low.i64 = m_value_low.f32[0]; v2 = (cocos2d::CCString *)sub_1007AB580("%.02f", v5); } CString = cocos2d::CCString::getCString(v2); std::string::assign(&v7, CString); m_input = a1->m_input; if ( (*(_BYTE *)&v7.__r_.__value_.__s.0 & 1) != 0 ) { sub_100006B70(&v5, v7.__r_.__value_.__l.__data_, v7.__r_.__value_.__l.__size_, *(double *)m_value_low.i64); } else { __p = v7.__r_.__value_.__l.__data_; m_value_low = *(__m128 *)&v7.__r_.__value_.__l.0; v5 = *(_OWORD *)&v7.__r_.__value_.__l.0; } CCTextInputNode::setString(m_input, (__int64)&v5, m_value_low); if ( (v5 & 1) != 0 ) operator delete(__p); a1->m_disableTextDelegate = 0; if ( (*(_BYTE *)&v7.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v7.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source