//
// png_get_y_offset_microns from 0xbcd834 to 0xbcd868 (52 bytes)
//
// 3 xrefs:
// > png_get_y_offset_inches_fixed @ 0xbcd9c0
// > png_get_y_offset_inches @ 0xbcda18
// > ??> @ 0x54900
//
// 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
//
__int64 __fastcall png_get_y_offset_microns(__int64 a1, __int64 a2)
{
__int64 result; // x0
if ( !a1 || !a2 )
return 0;
result = 0;
if ( (*(_DWORD *)(a2 + 8) & 0x100) != 0 && *(_BYTE *)(a2 + 220) == 1 )
return *(unsigned int *)(a2 + 216);
return result;
}