// // cocos2d::CCProgressTimer::setPercentage from 0x7e0128 to 0x7e0158 (48 bytes) // // 14 xrefs: // > CCCountdown::init @ 0x3c51b8 // > CCCountdown::lapFinished @ 0x3c533e // > LevelInfoLayer::loadLevelStep @ 0x499bd4 // > LevelInfoLayer::onPlay @ 0x49ba60 // > cocos2d::extension::CCControlPotentiometer::setValue @ 0x7acbd4 // > cocos2d::CCProgressTo::update @ 0x7c0a66 // > cocos2d::CCProgressFromTo::update @ 0x7c0a84 // > cocos2d::CCTransitionProgressRadialCCW::progressTimerNodeWithRenderTexture @ 0x7db346 // > cocos2d::CCTransitionProgressRadialCW::progressTimerNodeWithRenderTexture @ 0x7db3fa // > cocos2d::CCTransitionProgressHorizontal::progressTimerNodeWithRenderTexture @ 0x7db4d6 // > cocos2d::CCTransitionProgressVertical::progressTimerNodeWithRenderTexture @ 0x7db5b0 // > cocos2d::CCTransitionProgressInOut::progressTimerNodeWithRenderTexture @ 0x7db68a // > cocos2d::CCTransitionProgressOutIn::progressTimerNodeWithRenderTexture @ 0x7db762 // > cocos2d::CCProgressTimer::initWithSprite @ 0x7e0174 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:48 +0000 // float __fastcall cocos2d::CCProgressTimer::setPercentage(float this, cocos2d *a2, int a3, float a4) { float v4; // r4 v4 = this; if ( *(float *)(LODWORD(this) + 284) != *(float *)&a2 ) { *(_DWORD *)(LODWORD(this) + 284) = cocos2d::clampf(a2, 0.0, 100.0, a4); return cocos2d::CCProgressTimer::updateProgress(v4); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source