//
// ShaderLayer::update from 0x10026ef14 to 0x10026ef98 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d35a8
//
// 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 __fastcall ShaderLayer::update(ShaderLayer *a1, float a2)
{
__int64 v4; // [xsp+8h] [xbp-28h] BYREF
sub_100022AFC(&v4, (double *)&a1->m_screenSize);
if ( a1->m_targetTextureSize.width != *(float *)&v4 || a1->m_targetTextureSize.height != *((float *)&v4 + 1) )
ShaderLayer::setupShader(a1, 0);
a1->m_state.m_time = a1->m_state.m_time + a2;
GJShaderState::updateTweenActions(&a1->m_state, a2);
}