// // cocos2d::CCProgressTimer::setPercentage from 0x1006dbd90 to 0x1006dbdf2 (98 bytes) // // 17 xrefs: // > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x100278d73 // > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x100278f83 // > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x100279137 // > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x1002792e2 // > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x1002794d2 // > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x100279687 // > LevelInfoLayer::onPlay @ 0x1002acc3b // > LevelInfoLayer::loadLevelStep @ 0x1002b0fea // > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x1003461ca // > cocos2d::extension::CCControlPotentiometer::setValue @ 0x100346263 // > cocos2d::extension::CCControlPotentiometer::setMinimumValue @ 0x10034635a // > cocos2d::extension::CCControlPotentiometer::setMaximumValue @ 0x100346415 // > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x100346913 // > cocos2d::CCProgressTo::update @ 0x100425672 // > cocos2d::CCProgressFromTo::update @ 0x100425952 // > CCCountdown::init @ 0x1008adec4 // > CCCountdown::lapFinished @ 0x1008ae139 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:35:43 +0000 // __int64 __fastcall cocos2d::CCProgressTimer::setPercentage(__int64 a1, __m128 a2) { __int64 result; // rax if ( *(float *)(a1 + 344) != a2.f32[0] ) { *(_DWORD *)(a1 + 344) = cocos2d::clampf(a2, 0.0, (__m128)0x42C80000u).u32[0]; result = *(unsigned int *)(a1 + 340); if ( (_DWORD)result == 1 ) { return cocos2d::CCProgressTimer::updateBar(a1); } else if ( !(_DWORD)result ) { return cocos2d::CCProgressTimer::updateRadial(a1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source