//
// SetupPulsePopup::updateFadeOutLabel from 0x1003b6030 to 0x1003b60ec (188 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::init @ 0x1003b3f2c
// > SetupPulsePopup::sliderChanged @ 0x1003b5e68
//
// 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 SetupPulsePopup::updateFadeOutLabel(SetupPulsePopup *a1, bool a2)
{
float m_fadeOutTime; // s0
cocos2d::CCString *v4; // x0
char *CString; // x1
CCTextInputNode *m_fadeOutInput; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
a1->m_disableTextDelegate = 1;
m_fadeOutTime = a1->m_fadeOutTime;
if ( m_fadeOutTime == -0.1 )
{
CString = "Mixed";
}
else
{
if ( a2 || m_fadeOutTime != (float)(int)m_fadeOutTime )
v4 = (cocos2d::CCString *)sub_100268F4C("%.02f");
else
v4 = (cocos2d::CCString *)sub_100268F4C("%i");
CString = (char *)cocos2d::CCString::getCString(v4);
}
m_fadeOutInput = a1->m_fadeOutInput;
sub_100009900(__p, CString);
CCTextInputNode::setString(m_fadeOutInput, (__int64 **)__p);
if ( v8 < 0 )
operator delete(__p[0]);
a1->m_disableTextDelegate = 0;
}