//
// png_chunk_warning from 0x861084 to 0x8610a4 (32 bytes)
//
// 10 xrefs:
// > png_chunk_benign_error @ 0x8611c2
// > png_chunk_report @ 0x8611e4
// > png_benign_error @ 0x861230
// > sub_86C25C @ 0x86c304
// > sub_86C418 @ 0x86c536
// > png_crc_finish @ 0x86c8fc
// > png_handle_iCCP @ 0x86d406
// > png_handle_tEXt @ 0x86e2ee
// > png_handle_iTXt @ 0x86e5ae
// > png_handle_unknown @ 0x86e896
//
// 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:43 +0000
//
int __fastcall png_chunk_warning(int a1, const char *a2)
{
int v2; // r5
_BYTE v4[220]; // [sp+0h] [bp-DCh] BYREF
if ( a1 )
{
v2 = a1;
sub_860B78(*(_DWORD *)(a1 + 476), v4, (int)a2);
a1 = v2;
a2 = v4;
}
return png_warning(a1, a2);
}