// // ShaderLayer::updateZLayer from 0x9f7cf4 to 0x9f7d74 (128 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x85c974 // > ShaderLayer::resetAllShaders @ 0x9f7db0 // > ShaderLayer::init @ 0x9f9d40 // > @ 0x7ae20 // // 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) { int m_minBlendingLayer; // w1 if ( a2 <= 0 ) 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 ) { m_minBlendingLayer = a1->m_state.m_minBlendingLayer; a1->m_state.m_noPlayerParticles = a4; if ( 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