// // SetupPulsePopup::sliderChanged from 0x14043bb90 to 0x14043bdce (574 bytes) // // 4 xrefs: // > SetupPulsePopup::init @ 0x140437cdb // > SetupPulsePopup::init @ 0x14043815c // > SetupPulsePopup::init @ 0x1404385e0 // > @ 0x1406d9fd4 // // 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 SetupPulsePopup::sliderChanged(SetupPulsePopup *a1, cocos2d::CCObject *a2) { float Value; // xmm0_4 cocos2d::CCString *v5; // rax float v6; // xmm0_4 int v7; // eax int v8; // eax float m_fadeOutTime; // xmm0_4 const char *CString; // rax cocos2d::CCString *v11; // rax size_t v12; // r8 CCTextInputNode *m_fadeOutInput; // rcx float m_holdTime; // xmm0_4 const char *v15; // rax cocos2d::CCString *v16; // rax size_t v17; // r8 float m_fadeInTime; // xmm0_4 const char *v19; // rax cocos2d::CCString *v20; // rax size_t v21; // r8 __int128 v22; // [rsp+20h] [rbp-38h] BYREF __int64 v23; // [rsp+30h] [rbp-28h] __int64 v24; // [rsp+38h] [rbp-20h] Value = SliderThumb::getValue((SliderThumb *)a2); v5 = cocos2d::CCString::createWithFormat("%.01f", (float)(Value * 10.0)); v6 = cocos2d::CCString::floatValue(v5); v7 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) - 1; if ( v7 ) { v8 = v7 - 1; if ( v8 ) { if ( v8 != 1 ) return; a1->m_fadeOutTime = v6; SetupPulsePopup::updateFadeOutTime(a1); m_fadeOutTime = a1->m_fadeOutTime; CString = "Mixed"; a1->m_disableTextDelegate = 1; if ( m_fadeOutTime != -0.1 ) { v11 = cocos2d::CCString::createWithFormat("%.02f", m_fadeOutTime); CString = cocos2d::CCString::getCString(v11); } v22 = 0; v23 = 0; v12 = -1; v24 = 0; do ++v12; while ( CString[v12] ); sub_14003A930(&v22, CString, v12); m_fadeOutInput = a1->m_fadeOutInput; } else { a1->m_holdTime = v6; SetupPulsePopup::updateHoldTime(a1); m_holdTime = a1->m_holdTime; v15 = "Mixed"; a1->m_disableTextDelegate = 1; if ( m_holdTime != -0.1 ) { v16 = cocos2d::CCString::createWithFormat("%.02f", m_holdTime); v15 = cocos2d::CCString::getCString(v16); } v22 = 0; v23 = 0; v17 = -1; v24 = 0; do ++v17; while ( v15[v17] ); sub_14003A930(&v22, v15, v17); m_fadeOutInput = a1->m_holdInput; } } else { a1->m_fadeInTime = v6; SetupPulsePopup::updateFadeInTime(a1); m_fadeInTime = a1->m_fadeInTime; v19 = "Mixed"; a1->m_disableTextDelegate = 1; if ( m_fadeInTime != -0.1 ) { v20 = cocos2d::CCString::createWithFormat("%.02f", m_fadeInTime); v19 = cocos2d::CCString::getCString(v20); } v22 = 0; v23 = 0; v21 = -1; v24 = 0; do ++v21; while ( v19[v21] ); sub_14003A930(&v22, v19, v21); m_fadeOutInput = a1->m_fadeInInput; } CCTextInputNode::setString((__int64)m_fadeOutInput, &v22); a1->m_disableTextDelegate = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source