//
// png_process_data_skip from 0xbcea24 to 0xbceaa8 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x77f28
//
// 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
//
__int64 __fastcall png_process_data_skip(__int64 a1)
{
unsigned int v1; // w2
if ( !a1 )
return 0;
v1 = 0;
if ( *(_DWORD *)(a1 + 952) != 3 )
return v1;
v1 = *(_DWORD *)(a1 + 916);
if ( !v1 )
return v1;
if ( *(_QWORD *)(a1 + 936) )
png_error(a1, "png_process_data_skip called inside png_process_data");
if ( *(_QWORD *)(a1 + 920) )
png_error(a1, "png_process_data_skip called with saved data");
*(_DWORD *)(a1 + 916) = 0;
*(_DWORD *)(a1 + 952) = 1;
return v1;
}