// // png_set_gamma from 0xbd8598 to 0xbd8634 (156 bytes) // // 1 xrefs: // > @ 0xb11b0 // // 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 png_set_gamma(__int64 a1, double a2, double a3) { double v3; // d0 double v4; // d1 if ( a2 > 0.0 && a2 < 128.0 ) a2 = a2 * 100000.0; v3 = floor(a2 + 0.5); if ( v3 > 2147483650.0 || v3 < -2147483650.0 ) goto LABEL_12; if ( a3 > 0.0 && a3 < 128.0 ) a3 = a3 * 100000.0; v4 = floor(a3 + 0.5); if ( v4 > 2147483650.0 || v4 < -2147483650.0 ) LABEL_12: png_fixed_error(a1, (__int64)"gamma value"); return png_set_gamma_fixed(a1, (int)v3, (int)v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source