// // png_set_gamma from 0xe4e758 to 0xe4e7f4 (156 bytes) // // 1 xrefs: // > @ 0xe7bb0 // // 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:09 +0000 // __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