//
// png_write_data from 0x871278 to 0x87128a (18 bytes)
//
// 32 xrefs:
// > png_write_sig @ 0x87412e
// > png_write_chunk_start @ 0x87418a
// > png_write_chunk_data @ 0x8741c0
// > png_write_chunk_end @ 0x8741f4
// > png_write_chunk @ 0x874246
// > png_write_IHDR @ 0x8743ca
// > png_write_PLTE @ 0x874578
// > png_compress_IDAT @ 0x874704
// > png_compress_IDAT @ 0x874852
// > png_write_IEND @ 0x874966
// > png_write_gAMA_fixed @ 0x8749e0
// > png_write_sRGB @ 0x874a56
// > png_write_iCCP @ 0x874b34
// > png_write_sPLT @ 0x874c4e
// > png_write_sBIT @ 0x874de2
// > png_write_cHRM_fixed @ 0x874ed2
// > png_write_tRNS @ 0x874f96
// > png_write_tRNS @ 0x874ff6
// > png_write_tRNS @ 0x87507c
// > png_write_bKGD @ 0x87512c
// > png_write_bKGD @ 0x8751aa
// > png_write_bKGD @ 0x87522c
// > png_write_hIST @ 0x8752e6
// > png_write_tEXt @ 0x8753ac
// > png_write_zTXt @ 0x8754c0
// > png_write_iTXt @ 0x87567a
// > png_write_iTXt @ 0x875780
// > png_write_oFFs @ 0x8758ac
// > png_write_pCAL @ 0x875994
// > png_write_sCAL_s @ 0x875b38
// > png_write_pHYs @ 0x875bdc
// > png_write_tIME @ 0x875c8a
//
// 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:58 +0000
//
int __fastcall png_write_data(int a1)
{
int (*v1)(void); // r3
v1 = *(int (**)(void))(a1 + 280);
if ( !v1 )
png_error(a1, "Call to NULL write function");
return v1();
}