// // png_set_alpha_mode from 0x658c4c to 0x658cd0 (132 bytes) // // 0 xrefs: // // 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 // int __fastcall png_set_alpha_mode(int a1, int a2, double a3) { double v3; // d7 _BOOL4 v6; // r3 double v7; // d7 v3 = a3; v6 = a3 > 0.0; if ( v3 >= 128.0 ) v6 = 0; if ( v6 ) v3 = v3 * 100000.0; v7 = floor(v3 + 0.5); if ( v7 > 2147483650.0 || v7 < -2147483650.0 ) png_fixed_error(a1, (int)"gamma value"); return png_set_alpha_mode_fixed(a1, a2, (Elf32_Sym *)(int)v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source