//
// png_set_compression_method from 0xbe8d68 to 0xbe8da4 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x8e860
//
// 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
//
__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;
}