//
// png_set_sig_bytes from 0x85d290 to 0x85d2b0 (32 bytes)
//
// 0 xrefs:
//
// 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:41 +0000
//
int __fastcall png_set_sig_bytes(int result, int a2)
{
if ( result )
{
if ( a2 > 8 )
png_error(result, "Too many bytes for PNG signature");
if ( a2 < 0 )
LOBYTE(a2) = 0;
*(_BYTE *)(result + 541) = a2;
}
return result;
}