// // cocos2d::CCProgressTimer::setPercentage from 0x1006043b0 to 0x100604412 (98 bytes) // // 17 xrefs: // > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x10028d703 // > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x10028d913 // > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x10028dac7 // > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x10028dc72 // > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x10028de62 // > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x10028e017 // > LevelInfoLayer::onPlay @ 0x1002bfdd2 // > LevelInfoLayer::loadLevelStep @ 0x1002c43ca // > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x10035ac3a // > cocos2d::extension::CCControlPotentiometer::setValue @ 0x10035acd3 // > cocos2d::extension::CCControlPotentiometer::setMinimumValue @ 0x10035adca // > cocos2d::extension::CCControlPotentiometer::setMaximumValue @ 0x10035ae85 // > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x10035b383 // > cocos2d::CCProgressTo::update @ 0x100437bd2 // > cocos2d::CCProgressFromTo::update @ 0x100437eb2 // > CCCountdown::init @ 0x1007c6634 // > CCCountdown::lapFinished @ 0x1007c68a9 // // 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 cocos2d::CCProgressTimer::setPercentage(cocos2d::CCProgressTimer *a1, float a2) { cocos2d::CCProgressTimerType m_eType; // eax if ( a1->m_fPercentage != a2 ) { a1->m_fPercentage = cocos2d::clampf(a2, 0.0, 100.0); m_eType = a1->m_eType; if ( m_eType == kCCProgressTimerTypeBar ) { cocos2d::CCProgressTimer::updateBar(a1); } else if ( m_eType == kCCProgressTimerTypeRadial ) { cocos2d::CCProgressTimer::updateRadial(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source