//
// ShaderLayer::update from 0x685ba0 to 0x685c22 (130 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:04 +0000
//
int __fastcall ShaderLayer::update(ShaderLayer *this, float a2)
{
float v5[2]; // [sp+4h] [bp-10h] BYREF
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v5, (ShaderLayer *)((char *)this + 1004));
if ( *((float *)this + 255) != v5[0] || *((float *)this + 256) != v5[1] )
ShaderLayer::setupShader(this, 0);
*((double *)this + 45) = *((double *)this + 45) + a2;
return GJShaderState::updateTweenActions((int)this + 320, a2);
}