//
// png_start_read_image from 0x655a4c to 0x655a64 (24 bytes)
//
// 1 xrefs:
// > png_read_image @ 0x6570f2
//
// 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
//
int __fastcall png_start_read_image(int result)
{
if ( result )
{
if ( (*(_DWORD *)(result + 312) & 0x40) != 0 )
return png_app_error(result, "png_start_read_image/png_read_update_info: duplicate call");
else
return png_read_start_row();
}
return result;
}