//
// ShaderLayer::update from 0xb2e894 to 0xb2e938 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0xe05f0
// > ??> @ 0x14b6bb8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:42 +0000
//
__int64 __fastcall ShaderLayer::update(ShaderLayer *this, float a2)
{
float v3; // s0
float v6[2]; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v6, (ShaderLayer *)((char *)this + 1160));
v3 = a2;
if ( *((float *)this + 294) != v6[0] || *((float *)this + 295) != v6[1] )
{
ShaderLayer::setupShader(this, 0);
v3 = a2;
}
*((double *)this + 61) = *((double *)this + 61) + v3;
GJShaderState::updateTweenActions((ShaderLayer *)((char *)this + 408), v3);
return _stack_chk_guard;
}