//
// png_process_data_pause from 0x6524d8 to 0x652500 (40 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int __fastcall png_process_data_pause(int a1, int a2)
{
unsigned int v2; // r3
unsigned int v4; // r0
if ( !a1 )
return 0;
if ( a2 )
{
png_push_save_buffer(a1);
}
else
{
v2 = *(_DWORD *)(a1 + 696);
v4 = *(_DWORD *)(a1 + 688);
*(_DWORD *)(a1 + 696) = 0;
if ( v2 > v4 )
return v2 - v4;
}
return 0;
}