//
// ShaderLayer::triggerShockWave from 0x6863b0 to 0x686556 (422 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x58fff0
//
// 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::triggerShockWave(
ShaderLayer *this,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8,
bool a9,
float a10,
float a11,
float a12,
int a13,
bool a14,
bool a15,
bool a16,
float a17,
float a18,
bool a19,
float a20,
int a21,
float a22)
{
double v25; // d6
float v27; // s15
float v28; // s12
float v29; // s14
v25 = *((double *)this + 45);
if ( a19 )
{
v29 = v25 - *((float *)this + 102);
v27 = *((float *)this + 103) + (float)(v29 * *((float *)this + 105));
v28 = v25;
}
else
{
*((_BYTE *)this + 461) = a15;
v27 = 0.0;
*((_DWORD *)this + 114) = a13;
*((_BYTE *)this + 444) = a9;
v28 = v25;
*((_BYTE *)this + 460) = a14;
*((_BYTE *)this + 476) = 1;
*((_BYTE *)this + 462) = a16;
a20 = 0.0;
}
*((float *)this + 103) = v27;
*((float *)this + 102) = v28;
ShaderLayer::tweenValueAuto(this, a2, 0x32u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a3, 0x33u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a4, 0x34u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a5, 0x35u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a6, 0x36u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a7, 0x37u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a10, 0x38u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a11, 0x39u, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a12, 0x3Au, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a17, 0x3Bu, a20, a21, a22);
ShaderLayer::tweenValueAuto(this, a18, 0x3Cu, a20, a21, a22);
return ShaderLayer::tweenValueAuto(this, a8, 0x3Du, a20, a21, a22);
}