//
// ShaderLayer::update from 0x55082c to 0x5508b2 (134 bytes)
//
// 0 xrefs:
//
// 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::update(ShaderLayer *a1, float a2)
{
cocos2d::CCSize v4; // [sp+4h] [bp-10h] BYREF
cocos2d::CCSize::CCSize(&v4, &a1->m_screenSize);
if ( a1->m_targetTextureSize.width != v4.width || a1->m_targetTextureSize.height != v4.height )
ShaderLayer::setupShader(a1, 0);
a1->m_state.m_time = a1->m_state.m_time + a2;
GJShaderState::updateTweenActions(&a1->m_state, a2);
}