//
// png_start_read_image from 0xbd3888 to 0xbd38a8 (32 bytes)
//
// 2 xrefs:
// > png_read_image @ 0xbd57f4
// > ??> @ 0x69438
//
// 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_start_read_image(__int64 result)
{
if ( result )
{
if ( (*(_DWORD *)(result + 360) & 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;
}