//
// ShaderLayer::update from 0x9f9c34 to 0x9f9cd8 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0xab318
// > ??> @ 0x11cf0a8
//
// 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)
{
float v3; // s0
cocos2d::CCSize v5; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCSize::CCSize(&v5, &a1->m_screenSize);
v3 = a2;
if ( a1->m_targetTextureSize.width != v5.width || a1->m_targetTextureSize.height != v5.height )
{
ShaderLayer::setupShader(a1, 0);
v3 = a2;
}
a1->m_state.m_time = a1->m_state.m_time + v3;
GJShaderState::updateTweenActions(&a1->m_state, v3);
}