// // ConfigureValuePopup::updateTextInputLabel from 0x90c94c to 0x90cb2c (480 bytes) // // 5 xrefs: // > ConfigureValuePopup::init @ 0x90d0b0 // > ConfigureValuePopup::sliderChanged @ 0x90d914 // > ConfigureValuePopup::onArrow @ 0x90d98c // > ConfigureValuePopup::onArrow @ 0x90d9ac // > @ 0x40758 // // 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) { int m_type; // w2 float m_value; // s0 cocos2d::CCString *v4; // x0 size_t v5; // x0 CCTextInputNode *m_input; // x23 unsigned __int8 *v7; // x0 char *v8; // x0 unsigned int *v9; // x1 int v10; // w2 unsigned int *v11; // x1 int v12; // w2 const char *CString; // [xsp+48h] [xbp+48h] char *v14; // [xsp+58h] [xbp+58h] BYREF const unsigned __int8 *v15; // [xsp+60h] [xbp+60h] BYREF a1->m_disableTextDelegate = 1; m_type = a1->m_type; v14 = &byte_124B6C8; m_value = a1->m_value; if ( m_type == 1 ) v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)(int)m_value); else v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.02f", _stack_chk_guard, m_value); CString = cocos2d::CCString::getCString(v4); v5 = strlen(CString); sub_D1798C(&v14, CString, v5); m_input = a1->m_input; sub_D18D28(&v15); CCTextInputNode::setString(m_input, &v15); v7 = (unsigned __int8 *)(v15 - 24); if ( v15 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v15 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *((_DWORD *)v15 - 2); *((_DWORD *)v15 - 2) = v12 - 1; } if ( v12 <= 0 ) operator delete(v7); } a1->m_disableTextDelegate = 0; v8 = v14 - 24; if ( v14 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v14 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *((_DWORD *)v14 - 2); *((_DWORD *)v14 - 2) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source