// // sub_1004E0520 from 0x1004e0520 to 0x1004e0578 (88 bytes) // // 0 xrefs: // // 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 // long double __fastcall sub_1004E0520(double a1, double a2) { bool v2; // nf long double result; // d0 v2 = a1 < 0.0; if ( a1 <= 0.0 ) { result = 1.0e32; if ( !v2 ) return 0.0; } else { result = log(a1 * a2) * 0.5 / 0.693147181; if ( result < 0.0 ) return 0.0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source