//
// ShaderLayer::triggerGrayscale from 0xb3014c to 0xb30174 (40 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x9a00a0
// > ??> @ 0xff040
//
// 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:01:43 +0000
//
_BYTE *__fastcall ShaderLayer::triggerGrayscale(
ShaderLayer *this,
float a2,
float a3,
char a4,
int a5,
int a6,
float a7)
{
if ( (a5 & 0x80000000) == 0 )
*((_DWORD *)this + 247) = a5;
*((_BYTE *)this + 984) = a4;
return ShaderLayer::tweenValueAuto(this, a3, 32, a2, a6, a7);
}