//
// png_set_interlace_handling from 0xbe5268 to 0xbe5298 (48 bytes)
//
// 7 xrefs:
// > png_read_row @ 0xbd40e0
// > sub_BD4E74 @ 0xbd50b8
// > png_read_image @ 0xbd576c
// > png_read_image @ 0xbd57e8
// > png_read_png @ 0xbd5f80
// > png_write_image @ 0xbe7940
// > ??> @ 0xb2320
//
// 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_set_interlace_handling(__int64 a1)
{
if ( !a1 || !*(_BYTE *)(a1 + 684) )
return 1;
*(_DWORD *)(a1 + 364) |= 2u;
return 7;
}