//
// png_write_flush from 0x8726bc to 0x8726ea (46 bytes)
//
// 1 xrefs:
// > png_write_find_filter @ 0x876938
//
// 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:59 +0000
//
int __fastcall png_write_flush(int result)
{
int v1; // r4
if ( result )
{
if ( *(_DWORD *)(result + 472) < *(_DWORD *)(result + 456) )
{
v1 = result;
png_compress_IDAT();
*(_DWORD *)(v1 + 580) = 0;
return png_flush(v1);
}
}
return result;
}