// // ShaderLayer::updateZLayer from 0x54f2fa to 0x54f350 (86 bytes) // // 3 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x4704d6 // > ShaderLayer::resetAllShaders @ 0x54f49c // > ShaderLayer::init @ 0x5508fe // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool ShaderLayer::updateZLayer(ShaderLayer *a1, int a2, int a3, bool a4) { if ( a2 < 1 ) a2 = 1; if ( a3 <= 0 ) a3 = 15; if ( a1->m_state.m_minBlendingLayer != a2 ) { a1->m_state.m_minBlendingLayer = a2; a1->m_state.m_zLayerDirty = 1; } if ( a1->m_state.m_maxBlendingLayer != a3 ) { a1->m_state.m_maxBlendingLayer = a3; a1->m_state.m_zLayerDirty = 1; } if ( a1->m_state.m_noPlayerParticles != a4 ) { a1->m_state.m_noPlayerParticles = a4; if ( a1->m_state.m_minBlendingLayer == 8 || a1->m_state.m_maxBlendingLayer == 8 ) a1->m_state.m_zLayerDirty = 1; } return (char)a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source