//
// ShaderLayer::triggerGlitch from 0xb2f798 to 0xb2f82c (148 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x99fe00
// > ??> @ 0xbab38
//
// 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::triggerGlitch(
ShaderLayer *this,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8,
char a9)
{
_BYTE *result; // x0
float v13; // s0
result = ShaderLayer::tweenValueAuto(this, a3, 49, a2, 0, 0.0);
v13 = a4;
if ( a4 <= 0.001 )
v13 = 0.001;
*((_BYTE *)this + 720) = a9;
*((float *)this + 175) = v13;
*((float *)this + 176) = a5;
*((float *)this + 177) = a6;
*((float *)this + 178) = a7;
*((float *)this + 179) = a8;
return result;
}