// // sub_A5E74 from 0xa5e74 to 0xa5ef6 (130 bytes) // // 2 xrefs: // > sub_A5D24 @ 0xa5db4 // > sub_A64D6 @ 0xa6636 // // 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 sub_A5E74(float *result) { float v1; // s2 float v2; // s0 float v3; // s4 float v4; // s12 float v5; // s8 float v6; // s0 float v7; // s14 float v8; // s2 float v9; // s6 float v10; // s14 v1 = result[98]; v2 = result[97] * 0.5; v3 = 1.0 - result[99]; v4 = v2 + 0.5; v5 = (float)(1.0 - v1) * (float)(v2 + 0.5); v6 = (float)(0.5 - v2) * v1; v7 = v4 - v5; v8 = v6 + v4; v9 = 1.0 - (float)(v6 + v4); if ( v5 < (float)(v4 - v5) ) v7 = v5; v10 = v7 * v3; if ( v6 < v9 ) v9 = v6; result[103] = v5 - v10; result[104] = v10 + v5; result[105] = v8 - (float)(v9 * v3); result[106] = (float)(v9 * v3) + v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source