//
// ShaderLayer::triggerInvertColor from 0x686c4e to 0x686cce (128 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x590508
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:05 +0000
//
_BYTE *__fastcall ShaderLayer::triggerInvertColor(
ShaderLayer *this,
float a2,
float a3,
float a4,
float a5,
float a6,
bool a7,
bool a8,
bool a9,
int a10,
float a11)
{
if ( a7 )
{
*((_BYTE *)this + 888) = a9;
if ( a8 )
{
ShaderLayer::tweenValueAuto(this, a4, 0x23u, a2, a10, a11);
ShaderLayer::tweenValueAuto(this, a5, 0x24u, a2, a10, a11);
ShaderLayer::tweenValueAuto(this, a6, 0x25u, a2, a10, a11);
}
else
{
*((float *)this + 219) = a4;
*((float *)this + 220) = a5;
*((float *)this + 221) = a6;
}
}
return ShaderLayer::tweenValueAuto(this, a3, 0x22u, a2, a10, a11);
}