//
// png_set_swap from 0x660b00 to 0x660b18 (24 bytes)
//
// 4 xrefs:
// > sub_655D68 @ 0x656086
// > png_read_png @ 0x65772a
// > sub_662E04 @ 0x663024
// > png_write_png @ 0x6632b2
//
// 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
//
int __fastcall png_set_swap(int result)
{
if ( result )
{
if ( *(_BYTE *)(result + 536) == 16 )
*(_DWORD *)(result + 316) |= 0x10u;
}
return result;
}