//
// ShaderLayer::triggerShockLine from 0x68655c to 0x6866cc (368 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x590086
//
// 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::triggerShockLine(
ShaderLayer *this,
float a2,
float a3,
bool a4,
bool a5,
float a6,
bool a7,
float a8,
float a9,
float a10,
float a11,
float a12,
float a13,
int a14,
bool a15,
bool a16,
bool a17,
float a18,
bool a19,
float a20,
int a21,
float a22)
{
double v24; // d6
float v26; // s15
float v27; // s14
v24 = *((double *)this + 45);
if ( a19 )
{
v27 = v24 - *((double *)this + 61);
v26 = *((float *)this + 124) + (float)(v27 * *((float *)this + 126));
}
else
{
*((_BYTE *)this + 541) = a16;
v26 = 0.0;
*((_DWORD *)this + 134) = a14;
*((_BYTE *)this + 511) = a7;
*((_BYTE *)this + 540) = a15;
*((_BYTE *)this + 508) = a4;
*((_BYTE *)this + 556) = 1;
*((_BYTE *)this + 542) = a17;
*((_BYTE *)this + 509) = a5;
*((_BYTE *)this + 510) = LOBYTE(a6);
a20 = 0.0;
}
*((float *)this + 124) = v26;
*((double *)this + 61) = v24;
ShaderLayer::tweenValueAuto(this, a2, 0x3Eu, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a3, 0x3Fu, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a8, 0x40u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a9, 0x41u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a10, 0x42u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a11, 0x43u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a13, 0x44u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a18, 0x45u, a20, a21, a22);
return ShaderLayer::tweenValueAuto(this, a12, 0x46u, a20, a21, a22);
}