// // cocos2d::clampf from 0x1800941f0 to 0x18009420c (28 bytes) // // 15 xrefs: // > cocos2d::CCFollow::step @ 0x18002457c // > cocos2d::CCFollow::step @ 0x180024594 // > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de2c // > cocos2d::CCProgressTimer::setPercentage @ 0x18005e099 // > cocos2d::CCParticleSystem::initParticle @ 0x180066106 // > cocos2d::CCParticleSystem::initParticle @ 0x180066134 // > cocos2d::CCParticleSystem::initParticle @ 0x180066195 // > cocos2d::CCParticleSystem::initParticle @ 0x1800661f0 // > cocos2d::CCParticleSystem::initParticle @ 0x18006624b // > cocos2d::CCParticleSystem::initParticle @ 0x1800662aa // > cocos2d::CCParticleSystem::initParticle @ 0x1800662d1 // > cocos2d::CCParticleSystem::initParticle @ 0x18006632c // > cocos2d::CCParticleSystem::initParticle @ 0x180066381 // > cocos2d::CCParticleSystem::initParticle @ 0x1800663d5 // > @ 0x1801438a8 // // 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 // float __fastcall cocos2d::clampf(cocos2d *this, float a2, float a3, float a4) { float v4; // xmm0_4 float v5; // xmm3_4 v5 = a2; if ( a2 > a3 ) { v5 = a3; a3 = a2; } if ( v5 <= v4 ) return fminf(v4, a3); else return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source