//
// png_write_data from 0xe5c4a0 to 0xe5c4c8 (40 bytes)
//
// 33 xrefs:
// > png_write_sig @ 0xe6141c
// > png_write_chunk_start @ 0xe614e8
// > png_write_chunk_data @ 0xe61564
// > png_write_chunk_end @ 0xe615cc
// > png_write_chunk @ 0xe61670
// > png_write_IHDR @ 0xe618c8
// > png_write_PLTE @ 0xe61b50
// > png_compress_IDAT @ 0xe61d94
// > png_compress_IDAT @ 0xe61f50
// > png_write_IEND @ 0xe62148
// > png_write_gAMA_fixed @ 0xe62234
// > png_write_sRGB @ 0xe62324
// > png_write_iCCP @ 0xe624ac
// > png_write_sPLT @ 0xe6265c
// > png_write_sBIT @ 0xe628b4
// > png_write_cHRM_fixed @ 0xe62a4c
// > png_write_tRNS @ 0xe62bc8
// > png_write_tRNS @ 0xe62c50
// > png_write_tRNS @ 0xe62d18
// > png_write_bKGD @ 0xe62e2c
// > png_write_bKGD @ 0xe62f34
// > png_write_bKGD @ 0xe6300c
// > png_write_hIST @ 0xe630d0
// > png_write_tEXt @ 0xe63230
// > png_write_zTXt @ 0xe633f0
// > png_write_iTXt @ 0xe63670
// > png_write_iTXt @ 0xe637f0
// > png_write_oFFs @ 0xe639e0
// > png_write_pCAL @ 0xe63b6c
// > png_write_sCAL_s @ 0xe63e08
// > png_write_pHYs @ 0xe63f38
// > png_write_tIME @ 0xe6408c
// > ??> @ 0xe47d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:21 +0000
//
__int64 __fastcall png_write_data(__int64 a1)
{
__int64 (*v1)(void); // x3
v1 = *(__int64 (**)(void))(a1 + 304);
if ( !v1 )
png_error(a1, "Call to NULL write function");
return v1();
}