// // GameToolbox::bounceTime from 0x100047ec8 to 0x100047f78 (176 bytes) // // 4 xrefs: // > GameToolbox::getEasedValue @ 0x100048180 // > GameToolbox::getEasedValue @ 0x100048220 // > GameToolbox::getEasedValue @ 0x100048274 // > GameToolbox::getEasedValue @ 0x100048340 // // 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 GameToolbox::bounceTime(float a1) { double v1; // d1 float v3; // s0 float v4; // s1 float v5; // s2 v1 = a1; if ( a1 < 0.363636364 ) return (float)(a1 * 7.5625) * a1; if ( v1 >= 0.727272727 ) { if ( v1 >= 0.909090909 ) { v3 = a1 + -0.95455; v4 = v3 * 7.5625; v5 = 0.98438; } else { v3 = a1 + -0.81818; v4 = v3 * 7.5625; v5 = 0.9375; } } else { v3 = a1 + -0.54545; v4 = v3 * 7.5625; v5 = 0.75; } return v5 + (float)(v4 * v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source