// // cocos2d::clampf from 0x100356250 to 0x100356276 (38 bytes) // // 33 xrefs: // > PlayLayer::updateVisibility @ 0x1000b7cae // > PlayLayer::getRelativeModNew @ 0x1000b7e75 // > PlayLayer::applyEnterEffect @ 0x1000b8b19 // > GJBaseGameLayer::updateStaticCameraPos @ 0x1001252c6 // > GJBaseGameLayer::updateStaticCameraPos @ 0x100125366 // > GJBaseGameLayer::exitStaticCamera @ 0x10015c810 // > GJBaseGameLayer::exitStaticCamera @ 0x10015c999 // > ForceBlockGameObject::calculateForceToTarget @ 0x1001ecee2 // > ShaderLayer::triggerLensCircle @ 0x1003d017c // > PlayerObject::updateMove @ 0x1004014d2 // > ConfigureHSVWidget::init @ 0x100430698 // > ConfigureHSVWidget::init @ 0x1004306de // > ConfigureHSVWidget::init @ 0x100430724 // > ConfigureHSVWidget::updateSliders @ 0x100431214 // > ConfigureHSVWidget::updateSliders @ 0x10043125a // > ConfigureHSVWidget::updateSliders @ 0x1004312a0 // > ConfigureHSVWidget::textChanged @ 0x1004314a4 // > ConfigureHSVWidget::textChanged @ 0x1004314ea // > ConfigureHSVWidget::textChanged @ 0x100431530 // > cocos2d::CCFollow::step @ 0x1005f4e43 // > cocos2d::CCFollow::step @ 0x1005f4e5c // > cocos2d::CCProgressTimer::initWithSprite @ 0x10060424d // > cocos2d::CCProgressTimer::setPercentage @ 0x1006043d3 // > cocos2d::CCParticleSystem::initParticle @ 0x1007c8e9d // > cocos2d::CCParticleSystem::initParticle @ 0x1007c8ecc // > cocos2d::CCParticleSystem::initParticle @ 0x1007c8f49 // > cocos2d::CCParticleSystem::initParticle @ 0x1007c8fb0 // > cocos2d::CCParticleSystem::initParticle @ 0x1007c901f // > cocos2d::CCParticleSystem::initParticle @ 0x1007c908f // > cocos2d::CCParticleSystem::initParticle @ 0x1007c90bb // > cocos2d::CCParticleSystem::initParticle @ 0x1007c9135 // > cocos2d::CCParticleSystem::initParticle @ 0x1007c919c // > cocos2d::CCParticleSystem::initParticle @ 0x1007c920b // // 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 // // local variable allocation has failed, the output may be wrong! float __fastcall cocos2d::clampf(float a1, float a2, float a3) { float v3; // xmm3_4 __m128 v4; // xmm2 __m128 v5; // xmm1 __m128 v6; // xmm0 float result; // xmm0_4 v3 = fmaxf(a2, a3); v4.f32[0] = fminf(a3, a2); v5 = *(__m128 *)&a1; v5.f32[0] = fminf(a1, v3); v6 = _mm_cmplt_ss(*(__m128 *)&a1, v4); LODWORD(result) = _mm_andnot_ps(v6, v5).u32[0] | v4.i32[0] & v6.i32[0]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source