//
// png_default_write_data from 0x6611c0 to 0x6611e6 (38 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
//
size_t __fastcall png_default_write_data(size_t result, void *ptr, size_t a3)
{
int v3; // r4
if ( result )
{
v3 = result;
result = fwrite(ptr, 1u, a3, *(FILE **)(result + 288));
if ( result != a3 )
png_error(v3, "Write Error");
}
return result;
}