// // ShaderLayer::triggerChromaticGlitch from 0xb2f8b0 to 0xb2fa2c (380 bytes) // // 2 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x99fe90 // > @ 0x102058 // // 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::triggerChromaticGlitch( ShaderLayer *this, char a2, float a3, float a4, float a5, float a6, float a7, float a8, float a9, int a10, float a11, char a12, char a13) { double v23; // d2 float v24; // s7 float v25; // s3 float v26; // s4 float v27; // s16 float v28; // s7 float v29; // s0 _BYTE *result; // x0 v23 = *((double *)this + 61); if ( *((_BYTE *)this + 768) ) { v24 = *((float *)this + 184); v25 = v23; v26 = *((float *)this + 185); } else { v25 = v23; v26 = v25; v24 = v25; } *((_BYTE *)this + 768) = a2; v27 = *((float *)this + 186); *((float *)this + 184) = v25; v28 = v23 - v24; *((float *)this + 185) = v26 + (float)(v27 * v28); ShaderLayer::tweenValueAuto(this, a4, 8, a3, a10, a11); if ( a9 < 0.1 ) v29 = 10.0; else v29 = 1.0 / a9; ShaderLayer::tweenValueAuto(this, v29, 7, a3, a10, a11); ShaderLayer::tweenValueAuto(this, a5, 4, a3, a10, a11); ShaderLayer::tweenValueAuto(this, a7, 5, a3, a10, a11); ShaderLayer::tweenValueAuto(this, a8, 6, a3, a10, a11); result = ShaderLayer::tweenValueAuto(this, a6, 3, a3, a10, a11); *((_BYTE *)this + 770) = a12; *((_BYTE *)this + 771) = a13; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source