//
// png_process_data_pause from 0xbceff4 to 0xbcf038 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0xc3180
//
// 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 __int64 __fastcall png_process_data_pause(__int64 a1, int a2)
{
unsigned __int64 v3; // x0
unsigned __int64 v4; // x1
if ( a1 )
{
if ( a2 )
{
png_push_save_buffer(a1);
}
else
{
v3 = *(_QWORD *)(a1 + 936);
v4 = *(_QWORD *)(a1 + 920);
*(_QWORD *)(a1 + 936) = 0;
if ( v3 > v4 )
return v3 - v4;
}
}
return 0;
}