//
// png_set_text_compression_method from 0x6631d8 to 0x6631f4 (28 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall png_set_text_compression_method(int result, int a2)
{
int v2; // r5
if ( result )
{
v2 = result;
if ( a2 != 8 )
result = png_warning(result, "Only compression method 8 is supported by PNG");
*(_DWORD *)(v2 + 412) = a2;
}
return result;
}