// // ShaderLayer::triggerPinchX from 0x140487250 to 0x14048746e (542 bytes) // // 3 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x140221d5b // > @ 0x1406dbda4 // > @ 0x1406dbdb0 // // 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 // void ShaderLayer::triggerPinchX( ShaderLayer *a1, float a2, float a3, float a4, float a5, float a6, bool a7, int a8, int a9, float a10, bool a11) { ShaderLayer *v11; // rbx float m_pinchTargetX; // xmm1_4 float x; // xmm1_4 float m_pinchRadius; // xmm1_4 float v16; // xmm1_4 v11 = a1; if ( a3 != -909190.0 ) { if ( a2 <= 0.0 ) { m_pinchTargetX = 0.0; } else { if ( a1->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&a1->m_state, 25); m_pinchTargetX = v11->m_state.m_pinchTargetX; a1 = v11; } ShaderLayer::tweenValue(a1, m_pinchTargetX, a3, 25, a2, a9, a10); } if ( a4 != -909190.0 ) { if ( a2 <= 0.0 ) { x = 0.0; } else { if ( v11->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v11->m_state, 27); x = v11->m_state.m_pinchScreenOffset.x; } ShaderLayer::tweenValue(v11, x, a4, 27, a2, a9, a10); } if ( a5 != -909190.0 ) { if ( a2 <= 0.0 ) { m_pinchRadius = 0.0; } else { if ( v11->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v11->m_state, 29); m_pinchRadius = v11->m_state.m_pinchRadius; } ShaderLayer::tweenValue(v11, m_pinchRadius, a5, 29, a2, a9, a10); } if ( a6 != -909190.0 ) { if ( a2 <= 0.0 ) { v16 = 0.0; } else { if ( v11->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v11->m_state, 30); v16 = v11->m_state.m_pinchModifier.x; } ShaderLayer::tweenValue(v11, v16, a6, 30, a2, a9, a10); } v11->m_state.m_pinchTargetIDX = a8; v11->m_state.m_pinchTargetEnabledX = a7; v11->m_state.m_pinchRelative = a11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source