//
// png_get_y_pixels_per_inch from 0x8616b0 to 0x8616da (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:02:43 +0000
//
int __fastcall png_get_y_pixels_per_inch(int a1, int a2)
{
int y_pixels_per_meter; // r1
int v4; // [sp+4h] [bp-8h] BYREF
y_pixels_per_meter = png_get_y_pixels_per_meter(a1, a2);
if ( y_pixels_per_meter >= 0 && png_muldiv(&v4, y_pixels_per_meter, 127, 5000) )
return v4;
else
return 0;
}