// // png_gamma_8bit_correct from 0xe405b8 to 0xe40620 (104 bytes) // // 11 xrefs: // > png_gamma_correct @ 0xe406d4 // > png_build_gamma_table @ 0xe408d0 // > png_build_gamma_table @ 0xe41adc // > png_build_gamma_table @ 0xe41b50 // > png_init_read_transformations @ 0xe4f72c // > png_init_read_transformations @ 0xe4f73c // > png_init_read_transformations @ 0xe4f74c // > png_init_read_transformations @ 0xe4f760 // > png_init_read_transformations @ 0xe4f770 // > png_init_read_transformations @ 0xe4f780 // > @ 0x41f68 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:10:02 +0000 // __int64 __fastcall png_gamma_8bit_correct(__int64 result, int a2) { if ( (unsigned int)(result - 1) <= 0xFD ) return (unsigned __int8)vcvtmd_u64_f64(pow((double)(int)result / 255.0, (double)a2 * 0.00001) * 255.0 + 0.5); else return (unsigned __int8)result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source