// // smoothstep from 0x9f2bb4 to 0x9f2c04 (80 bytes) // // 3 xrefs: // > calculateK @ 0x9f2c20 // > calculateK @ 0x9f2c3c // > @ 0x812a0 // // 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 smoothstep(float a1, float a2, float a3) { float v3; // s1 float result; // s0 v3 = (float)(a3 - a1) / (float)(a2 - a1); if ( v3 < 0.0 ) return 0.0; result = 1.0; if ( v3 <= 1.0 ) { result = 0.0; if ( v3 >= 0.0 ) return (float)(v3 * v3) * (float)(3.0 - (float)(v3 * 2.0)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source