// // ColorSelectPopup::updateDurLabel from 0x140091420 to 0x1400914e4 (196 bytes) // // 3 xrefs: // > ColorSelectPopup::init @ 0x14008e437 // > ColorSelectPopup::sliderChanged @ 0x140091248 // > @ 0x1406c7014 // // 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 ColorSelectPopup::updateDurLabel(ColorSelectPopup *a1) { float m_fadeTime; // xmm3_4 const char *CString; // rax cocos2d::CCString *v4; // rax size_t v5; // r8 __int128 v6; // [rsp+20h] [rbp-28h] BYREF __int64 v7; // [rsp+30h] [rbp-18h] __int64 v8; // [rsp+38h] [rbp-10h] m_fadeTime = a1->m_fadeTime; CString = "Mixed"; a1->m_disableTextDelegate = 1; if ( m_fadeTime != -99999.0 ) { if ( (float)(m_fadeTime - (float)(int)m_fadeTime) == 0.0 ) v4 = cocos2d::CCString::createWithFormat("%i", (int)m_fadeTime); else v4 = cocos2d::CCString::createWithFormat("%.02f", m_fadeTime); CString = cocos2d::CCString::getCString(v4); } v6 = 0; v7 = 0; v5 = -1; v8 = 0; do ++v5; while ( CString[v5] ); sub_14003A930(&v6, CString, v5); CCTextInputNode::setString((__int64)a1->m_fadeTimeInput, &v6); a1->m_disableTextDelegate = 0; }