// // ShaderLayer::resetAllShaders from 0x1404895d0 to 0x1404897db (523 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x14022114e // > GJBaseGameLayer::resetLevelVariables @ 0x14023b53f // > LevelEditorLayer::updateGameObjects @ 0x1402dc8e8 // > @ 0x1406dbeb8 // // 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::resetAllShaders(ShaderLayer *a1) { double m_startTime; // rax int m_minBlendingLayer; // edx cocos2d::CCNode::stopAllActions(a1); sub_14024C800(&a1->m_state.m_tweenActions._Traitsobj._Mypair._Myval2._Myval2); sub_14005D290(&a1->m_state.m_tweenTimes._Traitsobj._Mypair._Myval2._Myval2); a1->m_state.m_cGSegmentHeight = 1.0; a1->m_state.m_shockWaveStartTime = 0.0; a1->m_state.m_shockLineStartTime = 0.0; a1->m_state.m_glitchStrength = 0.0; *(_QWORD *)&a1->m_state.m_chromaticTargetX = 0; a1->m_state.m_blurIntensity = 0.0; a1->m_state.m_cGEnable = 0; *(_QWORD *)&a1->m_state.m_cGSpeed = 0; a1->m_state.m_cGStrength = 0.0; *(_QWORD *)&a1->m_state.m_cGLineThickness = 0; *(_QWORD *)&a1->m_state.m_pixelateTargetX = 0; a1->m_state.m_pixelateSnapGrid = 0; *(_QWORD *)&a1->m_state.m_lensCircleStrength = 0; a1->m_state.m_lensCircleTintChannel = 0; a1->m_state.m_radialBlurSize = 0.0; *(_QWORD *)&a1->m_state.m_motionBlurTargetX = 0; *(_QWORD *)&a1->m_state.m_motionBlurTargetIDX = 0; *(_QWORD *)&a1->m_state.m_motionBlurSpeedX = 0; a1->m_state.m_textureScaleX = 1.0; a1->m_state.m_textureScaleY = 1.0; *(_QWORD *)&a1->m_state.m_lensCircleSize = 1065353216; cocos2d::CCPoint::operator=(&a1->m_state.m_radialBlurCenter, &stru_1406C2C50); a1->m_state.m_bulgeValue = 0.0; *(_QWORD *)&a1->m_state.m_pinchTargetX = 0; *(_QWORD *)&a1->m_state.m_pinchTargetIDX = 0; *(_WORD *)&a1->m_state.m_pinchTargetEnabledX = 0; cocos2d::CCPoint::operator=(&a1->m_state.m_pinchScreenOffset, &stru_1406C2C50); a1->m_state.m_grayscaleValue = 0.0; a1->m_state.m_prevTime = -1.0; *(_QWORD *)&a1->m_state.m_sepiaValue = 0; a1->m_state.m_hueShiftDegrees = 0.0; a1->m_state.m_invertColorR = 1.0; a1->m_state.m_invertColorG = 1.0; a1->m_state.m_invertColorB = 1.0; a1->m_state.m_colorChangeCR = 1.0; a1->m_state.m_colorChangeCG = 1.0; *(_QWORD *)&a1->m_state.m_colorChangeCB = 1065353216; *(_QWORD *)&a1->m_state.m_colorChangeBG = 0; a1->m_state.m_invertColorClampRGB = 0; *(_QWORD *)&a1->m_state.m_splitTargetRows = 0; *(_WORD *)&a1->m_state.m_zLayerDirty = 0; *(_QWORD *)&a1->m_state.m_minBlendingLayer = 0; m_startTime = a1->m_state.m_startTime; m_minBlendingLayer = a1->m_state.m_minBlendingLayer; a1->m_state.m_time = m_startTime; if ( 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_zLayerDirty = 1; a1->m_state.m_maxBlendingLayer = 15; } if ( a1->m_state.m_noPlayerParticles ) a1->m_state.m_noPlayerParticles = 0; return LOBYTE(m_startTime); }
GD Web Decomp Icon

GD Web Decomp

Raw Source