{"type": "func", "start": 6443057648, "end": 6443057676, "name": "cocos2d::clampf", "pseudocode": "// \n// cocos2d::clampf from 0x1800941f0 to 0x18009420c (28 bytes)\n// \n// 15 xrefs:\n// > cocos2d::CCFollow::step @ 0x18002457c\n// > cocos2d::CCFollow::step @ 0x180024594\n// > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de2c\n// > cocos2d::CCProgressTimer::setPercentage @ 0x18005e099\n// > cocos2d::CCParticleSystem::initParticle @ 0x180066106\n// > cocos2d::CCParticleSystem::initParticle @ 0x180066134\n// > cocos2d::CCParticleSystem::initParticle @ 0x180066195\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800661f0\n// > cocos2d::CCParticleSystem::initParticle @ 0x18006624b\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800662aa\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800662d1\n// > cocos2d::CCParticleSystem::initParticle @ 0x18006632c\n// > cocos2d::CCParticleSystem::initParticle @ 0x180066381\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800663d5\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat __fastcall cocos2d::clampf(cocos2d *this, float a2, float a3, float a4)\n{\n  float v4; // xmm0_4\n  float v5; // xmm3_4\n\n  v5 = a2;\n  if ( a2 > a3 )\n  {\n    v5 = a3;\n    a3 = a2;\n  }\n  if ( v5 <= v4 )\n    return fminf(v4, a3);\n  else\n    return v5;\n}", "assembly": "; \n; cocos2d::clampf from 0x1800941f0 to 0x18009420c (28 bytes)\n; \n; 15 xrefs:\n; > cocos2d::CCFollow::step @ 0x18002457c\n; > cocos2d::CCFollow::step @ 0x180024594\n; > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de2c\n; > cocos2d::CCProgressTimer::setPercentage @ 0x18005e099\n; > cocos2d::CCParticleSystem::initParticle @ 0x180066106\n; > cocos2d::CCParticleSystem::initParticle @ 0x180066134\n; > cocos2d::CCParticleSystem::initParticle @ 0x180066195\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800661f0\n; > cocos2d::CCParticleSystem::initParticle @ 0x18006624b\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800662aa\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800662d1\n; > cocos2d::CCParticleSystem::initParticle @ 0x18006632c\n; > cocos2d::CCParticleSystem::initParticle @ 0x180066381\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800663d5\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncomiss  xmm1, xmm2                                                     ; +0x0, 0x1800941f0\nmovaps  xmm3, xmm1                                                     ; +0x3, 0x1800941f3\njbe     short loc_1800941FE                                            ; +0x6, 0x1800941f6\nmovaps  xmm3, xmm2                                                     ; +0x8, 0x1800941f8\nmovaps  xmm2, xmm1                                                     ; +0xb, 0x1800941fb\ncomiss  xmm3, xmm0                                                     ; +0xe, 0x1800941fe\njbe     short loc_180094207                                            ; +0x11, 0x180094201\nmovaps  xmm0, xmm3                                                     ; +0x13, 0x180094203\nretn                                                                   ; +0x16, 0x180094206\nminss   xmm0, xmm2                                                     ; +0x17, 0x180094207\nretn                                                                   ; +0x1b, 0x18009420b", "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"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}