//
// png_process_data_skip from 0x6522a4 to 0x6522f0 (76 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
//
_DWORD *__fastcall png_process_data_skip(_DWORD *result)
{
int v1; // r2
if ( result )
{
if ( result[176] != 3 )
return nullptr;
v1 = result[171];
if ( !v1 )
return (_DWORD *)v1;
if ( result[174] )
png_error((int)result, "png_process_data_skip called inside png_process_data");
if ( result[172] )
png_error((int)result, "png_process_data_skip called with saved data");
result[171] = 0;
result[176] = 1;
return (_DWORD *)v1;
}
return result;
}