//
// png_set_rgb_to_gray from 0x6596f4 to 0x659730 (60 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_rgb_to_gray(int a1, unsigned int a2, double a3, double a4)
{
int v6; // r8
int v7; // r0
v6 = png_fixed(a1, a3, (int)"rgb to gray red coefficient");
v7 = png_fixed(a1, a4, (int)"rgb to gray green coefficient");
return png_set_rgb_to_gray_fixed(__SPAIR64__(a2, a1), v6, v7);
}