//
// ShaderLayer::triggerInvertColor from 0x1003ba570 to 0x1003ba64f (223 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x10011866c
//
// This function is hookable on this platform (idp: pc, 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 12:29:30 +0000
//
void __fastcall ShaderLayer::triggerInvertColor(
__int64 a1,
int a2,
char a3,
char a4,
int a5,
float a6,
float a7,
float a8,
float a9,
float a10,
float a11)
{
float v13; // [rsp+18h] [rbp-18h]
if ( a2 )
{
*(_BYTE *)(a1 + 1016) = a4;
if ( a3 )
{
v13 = a11;
ShaderLayer::tweenValueAuto(a1, 35, a5, a8, a6, a11);
ShaderLayer::tweenValueAuto(a1, 36, a5, a9, a6, v13);
ShaderLayer::tweenValueAuto(a1, 37, a5, a10, a6, v13);
a11 = v13;
}
else
{
*(float *)(a1 + 1004) = a8;
*(float *)(a1 + 1008) = a9;
*(float *)(a1 + 1012) = a10;
}
}
ShaderLayer::tweenValueAuto(a1, 34, a5, a7, a6, a11);
}