//
// png_process_data_pause from 0x862558 to 0x862580 (40 bytes)
//
// 0 xrefs:
//
// 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:44 +0000
//
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;
}