//
// ShaderLayer::triggerGlitch from 0x6866d0 to 0x686730 (96 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x5900ca
//
// 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::triggerGlitch(
ShaderLayer *this,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8,
bool a9)
{
_BYTE *result; // r0
result = ShaderLayer::tweenValueAuto(this, a3, 0x31u, a2, 0, 0.0);
*((float *)this + 144) = a5;
*((float *)this + 145) = a6;
if ( a4 <= 0.001 )
a4 = 0.001;
*((float *)this + 146) = a7;
*((float *)this + 143) = a4;
*((float *)this + 147) = a8;
*((_BYTE *)this + 592) = a9;
return result;
}