// // sub_C9F1D8 from 0xc9f1d8 to 0xc9f278 (160 bytes) // // 2 xrefs: // > WebPPictureDistortion @ 0xcabd78 // > WebPPictureDistortion @ 0xcabdb0 // // 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 // double __fastcall sub_C9F1D8(double *a1) { double v1; // d1 double v2; // d3 double v3; // d7 double v4; // d0 double v5; // d4 double v6; // d5 double v7; // d6 double v8; // d4 double v9; // d0 v1 = a1[1]; v2 = *a1; v3 = a1[2]; v4 = -(v1 * v1 - *a1 * a1[3]); v5 = v2 * v2; v6 = -(v3 * v3 - *a1 * a1[5]); if ( v4 < 0.0 ) v4 = 0.0; if ( v6 < 0.0 ) v6 = 0.0; v7 = v5 * 6.5025; v8 = v5 * 58.5225; v9 = (v1 * v1 + v3 * v3 + v7) * (v4 + v6 + v8); if ( v9 == 0.0 ) return 1.0e-10; else return (v7 + v1 * v3 * 2.0) * (v8 + -(v1 * v3 - v2 * a1[4]) * 2.0) / v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source