//
// png_write_flush from 0x66263c to 0x66266a (46 bytes)
//
// 1 xrefs:
// > png_write_find_filter @ 0x6668b8
//
// 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_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;
}