// // smoothstep from 0xb290ac to 0xb290fc (80 bytes) // // 3 xrefs: // > calculateK @ 0xb29118 // > calculateK @ 0xb29134 // > @ 0xabda8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:01:40 +0000 // 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