//
// png_write_data from 0x6611f8 to 0x66120a (18 bytes)
//
// 32 xrefs:
// > png_write_sig @ 0x6640ae
// > png_write_chunk_start @ 0x66410a
// > png_write_chunk_data @ 0x664140
// > png_write_chunk_end @ 0x664174
// > png_write_chunk @ 0x6641c6
// > png_write_IHDR @ 0x66434a
// > png_write_PLTE @ 0x6644f8
// > png_compress_IDAT @ 0x664684
// > png_compress_IDAT @ 0x6647d2
// > png_write_IEND @ 0x6648e6
// > png_write_gAMA_fixed @ 0x664960
// > png_write_sRGB @ 0x6649d6
// > png_write_iCCP @ 0x664ab4
// > png_write_sPLT @ 0x664bce
// > png_write_sBIT @ 0x664d62
// > png_write_cHRM_fixed @ 0x664e52
// > png_write_tRNS @ 0x664f16
// > png_write_tRNS @ 0x664f76
// > png_write_tRNS @ 0x664ffc
// > png_write_bKGD @ 0x6650ac
// > png_write_bKGD @ 0x66512a
// > png_write_bKGD @ 0x6651ac
// > png_write_hIST @ 0x665266
// > png_write_tEXt @ 0x66532c
// > png_write_zTXt @ 0x665440
// > png_write_iTXt @ 0x6655fa
// > png_write_iTXt @ 0x665700
// > png_write_oFFs @ 0x66582c
// > png_write_pCAL @ 0x665914
// > png_write_sCAL_s @ 0x665ab8
// > png_write_pHYs @ 0x665b5c
// > png_write_tIME @ 0x665c0a
//
// 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
//
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();
}