//
// ShaderLayer::updateShockLineCenter from 0x54ccb8 to 0x54ccd2 (26 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateShaderLayer @ 0x47254e
//
// 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::updateShockLineCenter(ShaderLayer *a1, cocos2d::CCPoint a2)
{
bool m_shockLineCenterMoving; // r3
if ( a1->m_state.m_shockLineCenterDirty )
{
m_shockLineCenterMoving = a1->m_state.m_shockLineCenterMoving;
if ( !m_shockLineCenterMoving )
a1->m_state.m_shockLineCenterDirty = 0;
cocos2d::CCPoint::operator=(
(PlayerObject *)&a1->m_state.m_shockLineCenter,
a2.x,
SLODWORD(a2.y),
m_shockLineCenterMoving);
}
}