// // LogL10fromY from 0x8e93c0 to 0x8e94c4 (260 bytes) // // 2 xrefs: // > LogLuv24fromXYZ @ 0x8ea0b8 // > @ 0x6b53c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:04:11 +0000 // int __fastcall LogL10fromY(double a1, int a2) { double v4; // d6 if ( a1 >= 15.742 ) return 1023; if ( a1 <= 0.00024283 ) return 0; if ( !a2 ) return (int)((log(a1) * 1.44269504 + 12.0) * 64.0); v4 = log(a1) * 1.44269504 + 12.0; return (int)(v4 * 64.0 + (double)sub_8E6CC0() * 4.65661288e-10 - 0.5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source