//
// png_write_sig from 0x874108 to 0x87414a (66 bytes)
//
// 1 xrefs:
// > png_write_info_before_PLTE @ 0x87189a
//
// 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:03:00 +0000
//
int __fastcall png_write_sig(int a1)
{
int result; // r0
*(_DWORD *)(a1 + 900) = 18;
result = png_write_data(a1);
if ( *(unsigned __int8 *)(a1 + 541) <= 2u )
*(_DWORD *)(a1 + 308) |= 0x1000u;
return result;
}