// // ShaderLayer::resetAllShaders from 0x1002733b0 to 0x100273420 (112 bytes) // // 3 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x1001f0cec // > GJBaseGameLayer::resetLevelVariables @ 0x10020249c // > LevelEditorLayer::updateGameObjects @ 0x100358a28 // // 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 __fastcall ShaderLayer::resetAllShaders(ShaderLayer *a1) { bool result; // w0 cocos2d::CCNode::stopAllActions(a1); GJShaderState::reset(&a1->m_state); a1->m_state.m_time = a1->m_state.m_startTime; if ( a1->m_state.m_minBlendingLayer != 1 ) { a1->m_state.m_minBlendingLayer = 1; a1->m_state.m_zLayerDirty = 1; } if ( a1->m_state.m_maxBlendingLayer != 15 ) { a1->m_state.m_maxBlendingLayer = 15; a1->m_state.m_zLayerDirty = 1; } if ( a1->m_state.m_noPlayerParticles ) a1->m_state.m_noPlayerParticles = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source