{"type": "func", "start": 6443071824, "end": 6443071852, "name": "cocos2d::clampf", "pseudocode": "// \n// cocos2d::clampf from 0x180097950 to 0x18009796c (28 bytes)\n// \n// 15 xrefs:\n// > cocos2d::CCFollow::step @ 0x180024ae7\n// > cocos2d::CCFollow::step @ 0x180024afc\n// > cocos2d::CCProgressTimer::initWithSprite @ 0x18006001c\n// > cocos2d::CCProgressTimer::setPercentage @ 0x180060289\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800683b6\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800683e4\n// > cocos2d::CCParticleSystem::initParticle @ 0x180068445\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800684a0\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800684fb\n// > cocos2d::CCParticleSystem::initParticle @ 0x18006855a\n// > cocos2d::CCParticleSystem::initParticle @ 0x180068581\n// > cocos2d::CCParticleSystem::initParticle @ 0x1800685cd\n// > cocos2d::CCParticleSystem::initParticle @ 0x180068625\n// > cocos2d::CCParticleSystem::initParticle @ 0x180068679\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:10 +0000\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 0x180097950 to 0x18009796c (28 bytes)\n; \n; 15 xrefs:\n; > cocos2d::CCFollow::step @ 0x180024ae7\n; > cocos2d::CCFollow::step @ 0x180024afc\n; > cocos2d::CCProgressTimer::initWithSprite @ 0x18006001c\n; > cocos2d::CCProgressTimer::setPercentage @ 0x180060289\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800683b6\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800683e4\n; > cocos2d::CCParticleSystem::initParticle @ 0x180068445\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800684a0\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800684fb\n; > cocos2d::CCParticleSystem::initParticle @ 0x18006855a\n; > cocos2d::CCParticleSystem::initParticle @ 0x180068581\n; > cocos2d::CCParticleSystem::initParticle @ 0x1800685cd\n; > cocos2d::CCParticleSystem::initParticle @ 0x180068625\n; > cocos2d::CCParticleSystem::initParticle @ 0x180068679\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:10 +0000\n; \ncomiss  xmm1, xmm2                                                     ; +0x0, 0x180097950\nmovaps  xmm3, xmm1                                                     ; +0x3, 0x180097953\njbe     short loc_18009795E                                            ; +0x6, 0x180097956\nmovaps  xmm3, xmm2                                                     ; +0x8, 0x180097958\nmovaps  xmm2, xmm1                                                     ; +0xb, 0x18009795b\ncomiss  xmm3, xmm0                                                     ; +0xe, 0x18009795e\njbe     short loc_180097967                                            ; +0x11, 0x180097961\nmovaps  xmm0, xmm3                                                     ; +0x13, 0x180097963\nretn                                                                   ; +0x16, 0x180097966\nminss   xmm0, xmm2                                                     ; +0x17, 0x180097967\nretn                                                                   ; +0x1b, 0x18009796b", "xrefs": ["cocos2d::CCFollow::step @ 0x180024ae7", "cocos2d::CCFollow::step @ 0x180024afc", "cocos2d::CCProgressTimer::initWithSprite @ 0x18006001c", "cocos2d::CCProgressTimer::setPercentage @ 0x180060289", "cocos2d::CCParticleSystem::initParticle @ 0x1800683b6", "cocos2d::CCParticleSystem::initParticle @ 0x1800683e4", "cocos2d::CCParticleSystem::initParticle @ 0x180068445", "cocos2d::CCParticleSystem::initParticle @ 0x1800684a0", "cocos2d::CCParticleSystem::initParticle @ 0x1800684fb", "cocos2d::CCParticleSystem::initParticle @ 0x18006855a", "cocos2d::CCParticleSystem::initParticle @ 0x180068581", "cocos2d::CCParticleSystem::initParticle @ 0x1800685cd", "cocos2d::CCParticleSystem::initParticle @ 0x180068625", "cocos2d::CCParticleSystem::initParticle @ 0x180068679", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}