// // GJBaseGameLayer::triggerShaderCommand from 0x99fbbc to 0x9a0254 (1688 bytes) // // 3 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x795afc // > EffectGameObject::triggerObject @ 0x898978 // > @ 0x65218 // // 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 12:58:06 +0000 // __int64 __fastcall GJBaseGameLayer::triggerShaderCommand(__int64 this, ShaderGameObject *a2) { int v2; // w21 int v3; // w2 __int64 v4; // x20 ShaderLayer *v6; // x0 int v7; // w1 float v8; // s0 ShaderLayer *v9; // x0 float v10; // s1 float v11; // s2 char v12; // w1 v2 = -1; v3 = *((_DWORD *)a2 + 366); if ( !*((_BYTE *)a2 + 1684) ) { v2 = -2; if ( !*((_BYTE *)a2 + 1685) ) { if ( *((_BYTE *)a2 + 1686) ) v2 = -3; else v2 = *((_DWORD *)a2 + 366); } } if ( *(_BYTE *)(this + 12236) && v2 < 0 && !*(_DWORD *)(this + 1972) ) v2 = 0; v4 = this; switch ( *((_DWORD *)a2 + 257) ) { case 0xB58: ShaderLayer::updateZLayer( *(ShaderLayer **)(this + 12416), *((_DWORD *)a2 + 476), *((_DWORD *)a2 + 477), *((_BYTE *)a2 + 1899)); this = *((unsigned __int8 *)a2 + 1903); if ( *((_BYTE *)a2 + 1903) ) this = ShaderLayer::resetAllShaders(*(ShaderLayer **)(v4 + 12416)); break; case 0xB59: this = ShaderLayer::triggerShockWave( *(ShaderLayer **)(this + 12416), *((float *)a2 + 460), *((float *)a2 + 465), *((float *)a2 + 461), *((float *)a2 + 464), *((float *)a2 + 467), *((float *)a2 + 468), *((float *)a2 + 463), *((_BYTE *)a2 + 1884), *((float *)a2 + 472), *((float *)a2 + 469), *((float *)a2 + 470), v2, *((_BYTE *)a2 + 1899), *((_BYTE *)a2 + 1900), *((_BYTE *)a2 + 1913), *((float *)a2 + 462), *((float *)a2 + 473), *((_BYTE *)a2 + 1912), *((float *)a2 + 363), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB5B: this = ShaderLayer::triggerShockLine( *(ShaderLayer **)(this + 12416), *((float *)a2 + 460), *((float *)a2 + 465), *((_BYTE *)a2 + 1897), *((_BYTE *)a2 + 1896), *((_BYTE *)a2 + 1898), *((_BYTE *)a2 + 1884), *((float *)a2 + 461), *((float *)a2 + 464), *((float *)a2 + 467), *((float *)a2 + 468), *((float *)a2 + 463), *((float *)a2 + 469), v2, *((_BYTE *)a2 + 1899), *((_BYTE *)a2 + 1900), *((_BYTE *)a2 + 1913), *((float *)a2 + 473), *((_BYTE *)a2 + 1912), *((float *)a2 + 363), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB5D: this = ShaderLayer::triggerGlitch( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 461), *((float *)a2 + 460), *((float *)a2 + 464), *((float *)a2 + 462), *((float *)a2 + 467), *((float *)a2 + 468), *((_BYTE *)a2 + 1913)); break; case 0xB5E: if ( *((_BYTE *)a2 + 1899) ) ShaderLayer::triggerChromaticX( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 465), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); this = *((unsigned __int8 *)a2 + 1900); if ( *((_BYTE *)a2 + 1900) ) this = ShaderLayer::triggerChromaticY( *(ShaderLayer **)(v4 + 12416), *((float *)a2 + 363), *((float *)a2 + 466), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); break; case 0xB5F: this = ShaderLayer::triggerChromaticGlitch( *(ShaderLayer **)(this + 12416), *((_BYTE *)a2 + 1903) != 1, *((float *)a2 + 363), *((float *)a2 + 460), *((float *)a2 + 461), *((float *)a2 + 465), *((float *)a2 + 464), *((float *)a2 + 462), *((float *)a2 + 466), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913), *((_BYTE *)a2 + 1901)); break; case 0xB60: if ( *((_BYTE *)a2 + 1899) ) ShaderLayer::triggerPixelateX( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 465), *((_BYTE *)a2 + 1901), *((_BYTE *)a2 + 1902), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); this = *((unsigned __int8 *)a2 + 1900); if ( *((_BYTE *)a2 + 1900) ) this = ShaderLayer::triggerPixelateY( *(ShaderLayer **)(v4 + 12416), *((float *)a2 + 363), *((float *)a2 + 466), *((_BYTE *)a2 + 1901), *((_BYTE *)a2 + 1902), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); break; case 0xB61: this = ShaderLayer::triggerLensCircle( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 464), *((float *)a2 + 467), *((float *)a2 + 461), v2, *((_DWORD *)a2 + 367), *((float *)a2 + 469), *((float *)a2 + 470), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); break; case 0xB62: this = ShaderLayer::triggerRadialBlur( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 464), *((float *)a2 + 461), *((float *)a2 + 467), *((_DWORD *)a2 + 367), *((float *)a2 + 469), *((float *)a2 + 470), *((_BYTE *)a2 + 1899), v2, *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1902)); break; case 0xB63: if ( *((_BYTE *)a2 + 1899) ) ShaderLayer::triggerMotionBlurX( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 465), *((float *)a2 + 461), *((float *)a2 + 467), v2, *((float *)a2 + 462), *((_BYTE *)a2 + 1901), *((_DWORD *)a2 + 367), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913), *((_BYTE *)a2 + 1902)); this = *((unsigned __int8 *)a2 + 1900); if ( *((_BYTE *)a2 + 1900) ) this = ShaderLayer::triggerMotionBlurY( *(ShaderLayer **)(v4 + 12416), *((float *)a2 + 363), *((float *)a2 + 466), *((float *)a2 + 461), *((float *)a2 + 467), v2, *((float *)a2 + 462), *((_BYTE *)a2 + 1901), *((_DWORD *)a2 + 367), *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913), *((_BYTE *)a2 + 1902)); break; case 0xB64: v6 = *(ShaderLayer **)(this + 12416); if ( *((_BYTE *)a2 + 1899) ) v7 = v2; else v7 = 0; this = ShaderLayer::triggerBulge( v6, *((float *)a2 + 363), *((float *)a2 + 461), *((float *)a2 + 469), *((float *)a2 + 470), *((float *)a2 + 465), v7, *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); break; case 0xB65: if ( *((_BYTE *)a2 + 1900) ) ShaderLayer::triggerPinchX( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 465), *((float *)a2 + 469), *((float *)a2 + 473), *((float *)a2 + 464), *((_BYTE *)a2 + 1899), v2, *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); this = *((unsigned __int8 *)a2 + 1901); if ( *((_BYTE *)a2 + 1901) ) this = ShaderLayer::triggerPinchY( *(ShaderLayer **)(v4 + 12416), *((float *)a2 + 363), *((float *)a2 + 466), *((float *)a2 + 470), *((float *)a2 + 473), *((float *)a2 + 464), *((_BYTE *)a2 + 1899), v2, *((_DWORD *)a2 + 374), *((float *)a2 + 375), *((_BYTE *)a2 + 1913)); break; case 0xB67: v8 = *((float *)a2 + 363); v9 = *(ShaderLayer **)(this + 12416); v10 = *((float *)a2 + 461); v11 = *((float *)a2 + 375); v12 = *((_BYTE *)a2 + 1899); if ( !*((_BYTE *)a2 + 1900) ) v3 = -1; this = ShaderLayer::triggerGrayscale(v9, v8, v10, v12, v3, *((_DWORD *)a2 + 374), v11); break; case 0xB68: this = ShaderLayer::triggerSepia( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 461), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB69: this = ShaderLayer::triggerInvertColor( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 461), *((float *)a2 + 464), *((float *)a2 + 465), *((float *)a2 + 466), *((_BYTE *)a2 + 1899), *((_BYTE *)a2 + 1900), *((_BYTE *)a2 + 1901), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB6A: this = ShaderLayer::triggerHueShift( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 461), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB6B: this = ShaderLayer::triggerColorChange( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 461), *((float *)a2 + 462), *((float *)a2 + 460), *((float *)a2 + 464), *((float *)a2 + 465), *((float *)a2 + 466), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; case 0xB6C: if ( *((_BYTE *)a2 + 1899) ) ShaderLayer::triggerSplitScreenCols( *(ShaderLayer **)(this + 12416), *((float *)a2 + 363), *((float *)a2 + 465), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); this = *((unsigned __int8 *)a2 + 1900); if ( *((_BYTE *)a2 + 1900) ) this = ShaderLayer::triggerSplitScreenRows( *(ShaderLayer **)(v4 + 12416), *((float *)a2 + 363), *((float *)a2 + 466), *((_DWORD *)a2 + 374), *((float *)a2 + 375)); break; default: return this; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source