// // png_reciprocal from 0x64f020 to 0x64f08c (108 bytes) // // 21 xrefs: // > png_colorspace_set_endpoints @ 0x64f434 // > png_colorspace_set_endpoints @ 0x64f43c // > png_colorspace_set_endpoints @ 0x64f444 // > png_colorspace_set_chromaticities @ 0x64f9b2 // > png_colorspace_set_chromaticities @ 0x64f9ba // > png_colorspace_set_chromaticities @ 0x64f9c2 // > png_build_gamma_table @ 0x650892 // > png_build_gamma_table @ 0x6508ae // > png_build_gamma_table @ 0x650986 // > png_build_gamma_table @ 0x650a1e // > sub_6535E0 @ 0x65390e // > sub_653A0C @ 0x653ad2 // > sub_653A0C @ 0x653b0a // > sub_653BE8 @ 0x653f48 // > sub_654424 @ 0x654f8e // > png_set_alpha_mode_fixed @ 0x658ada // > png_init_read_transformations @ 0x6598b6 // > png_init_read_transformations @ 0x659c3a // > png_init_read_transformations @ 0x659cf6 // > png_init_read_transformations @ 0x659e36 // > png_init_read_transformations @ 0x659ef8 // // 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_reciprocal(int a1) { double v1; // r0 _BOOL4 v2; // r3 v1 = floor(1.0e10 / (double)a1 + 0.5); v2 = v1 <= 2147483650.0; if ( v1 < -2147483650.0 ) v2 = 0; if ( v2 ) return (int)v1; else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source