//
// png_default_read_data from 0x867acc to 0x867af2 (38 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:02:48 +0000
//
size_t __fastcall png_default_read_data(size_t result, void *ptr, size_t a3)
{
int v3; // r4
if ( result )
{
v3 = result;
result = fread(ptr, 1u, a3, *(FILE **)(result + 288));
if ( result != a3 )
png_error(v3, "Read Error");
}
return result;
}