//
// png_set_swap from 0xe5b394 to 0xe5b3b8 (36 bytes)
//
// 5 xrefs:
// > png_read_row @ 0xe4a3f0
// > png_read_png @ 0xe4c244
// > sub_E5EAE4 @ 0xe5ed70
// > png_write_png @ 0xe5f130
// > ??> @ 0x5e3a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:20 +0000
//
__int64 __fastcall png_set_swap(__int64 result)
{
if ( result )
{
if ( *(_BYTE *)(result + 688) == 16 )
*(_DWORD *)(result + 364) |= 0x10u;
}
return result;
}