//
// png_get_x_offset_pixels from 0xbcd868 to 0xbcd894 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0xae6d8
//
// 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_x_offset_pixels(__int64 a1, __int64 a2)
{
__int64 result; // x0
if ( !a1 || !a2 )
return 0;
result = 0;
if ( (*(_DWORD *)(a2 + 8) & 0x100) != 0 && !*(_BYTE *)(a2 + 220) )
return *(unsigned int *)(a2 + 212);
return result;
}