// // LogL16toY from 0x6d8f30 to 0x6d8fcc (156 bytes) // // 4 xrefs: // > sub_6D9228 @ 0x6d9274 // > sub_6D92C4 @ 0x6d9310 // > LogLuv32toXYZ @ 0x6dabf8 // > @ 0x584ac // // 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 // __int64 __fastcall LogL16toY(__int16 a1) { double v1; // d7 double v4; // [sp+10h] [bp-Ch] if ( (a1 & 0x7FFF) != 0 ) { v4 = exp(((double)(a1 & 0x7FFF) + 0.5) * 0.00270760617 - 44.3614196); if ( a1 < 0 ) v1 = -v4; else v1 = v4; } else { v1 = 0.0; } return *(_QWORD *)&v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source