// // png_reciprocal2 from 0x6503b4 to 0x65042c (120 bytes) // // 5 xrefs: // > png_build_gamma_table @ 0x65069a // > png_build_gamma_table @ 0x65093c // > png_init_read_transformations @ 0x659d04 // > png_init_read_transformations @ 0x659e44 // > png_init_read_transformations @ 0x659f06 // // 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_reciprocal2(int a1, int a2) { double v2; // r0 _BOOL4 v3; // r3 v2 = floor(1.0e15 / (double)a1 / (double)a2 + 0.5); v3 = v2 <= 2147483650.0; if ( v2 < -2147483650.0 ) v3 = 0; if ( v3 ) return (int)v2; else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source