//
// png_write_flush from 0xe5e190 to 0xe5e1e4 (84 bytes)
//
// 2 xrefs:
// > png_write_find_filter @ 0xe66d18
// > ??> @ 0x9e380
//
// 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:22 +0000
//
__int64 __fastcall png_write_flush(__int64 result)
{
__int64 v1; // x19
if ( result )
{
if ( *(_DWORD *)(result + 588) < *(_DWORD *)(result + 568) )
{
v1 = result;
png_compress_IDAT();
*(_DWORD *)(v1 + 740) = 0;
return png_flush(v1);
}
}
return result;
}