//
// ShaderLayer::triggerPixelateX from 0x1002716b8 to 0x100271724 (108 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x1001f1010
//
// 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
//
void __fastcall ShaderLayer::triggerPixelateX(
ShaderLayer *a1,
float a2,
float a3,
bool a4,
bool a5,
int a6,
float a7,
bool a8)
{
a1->m_state.m_pixelateSnapGrid = a4;
if ( a1->m_state.m_pixelateTargetX < 1.0 )
a1->m_state.m_pixelateTargetX = 1.0;
ShaderLayer::tweenValueAuto(a1, a3, 9, a2, a6, a7);
a1->m_state.m_pixelateRelative = a8;
a1->m_state.m_pixelateHardEdges = a5;
}