//
// png_set_packswap from 0x870bb8 to 0x870bd0 (24 bytes)
//
// 2 xrefs:
// > png_read_png @ 0x86776a
// > png_write_png @ 0x87332a
//
// 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:57 +0000
//
int __fastcall png_set_packswap(int result)
{
if ( result )
{
if ( *(unsigned __int8 *)(result + 536) <= 7u )
*(_DWORD *)(result + 316) |= 0x10000u;
}
return result;
}