//
// SetupPulsePopup::updateFadeOutLabel from 0x4bd44c to 0x4bd4f4 (168 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::sliderChanged @ 0x4bd746
// > SetupPulsePopup::init @ 0x4beebc
//
// 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::updateFadeOutLabel(SetupPulsePopup *a1, bool a2)
{
float m_fadeOutTime; // s15
cocos2d::CCString *v4; // r0
char *CString; // r1
CCTextInputNode *m_fadeOutInput; // r7
char *v7; // r2
char v8[4]; // [sp+8h] [bp-Ch] BYREF
m_fadeOutTime = a1->m_fadeOutTime;
a1->m_disableTextDelegate = 1;
if ( m_fadeOutTime == -0.1 )
{
CString = "Mixed";
}
else
{
if ( a2 || (float)(m_fadeOutTime - (float)(int)m_fadeOutTime) != 0.0 )
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.02f",
(const char *)a2,
m_fadeOutTime);
else
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(int)m_fadeOutTime);
CString = (char *)cocos2d::CCString::getCString(v4);
}
m_fadeOutInput = a1->m_fadeOutInput;
sub_776584((int)v8, CString);
CCTextInputNode::setString((int)m_fadeOutInput, v8, v7);
sub_774008(v8);
a1->m_disableTextDelegate = 0;
}