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

GD Web Decomp

Raw Source