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

GD Web Decomp

Raw Source