//
// png_set_compression_method from 0xe5ef28 to 0xe5ef64 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0xbca58
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:22 +0000
//
__int64 __fastcall png_set_compression_method(__int64 result, int a2)
{
__int64 v3; // x20
if ( result )
{
v3 = result;
if ( a2 != 8 )
result = png_warning(result, "Only compression method 8 is supported by PNG");
*(_DWORD *)(v3 + 504) = a2;
}
return result;
}