//
// png_get_x_pixels_per_inch from 0x651604 to 0x65162e (42 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_get_x_pixels_per_inch(int a1, int a2)
{
int x_pixels_per_meter; // r1
int v4; // [sp+4h] [bp-8h] BYREF
x_pixels_per_meter = png_get_x_pixels_per_meter(a1, a2);
if ( x_pixels_per_meter >= 0 && png_muldiv(&v4, x_pixels_per_meter, 127, 5000) )
return v4;
else
return 0;
}