//
// ShaderLayer::update from 0x10030cd2c to 0x10030cdb0 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092c2f0
//
// 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 11:03:11 +0000
//
__int64 __fastcall ShaderLayer::update(__int64 a1, float a2)
{
double v4; // d0
__int64 v6; // [xsp+8h] [xbp-28h] BYREF
sub_100026438(&v6, (double *)(a1 + 1160));
if ( *(float *)(a1 + 1176) != *(float *)&v6 || *(float *)(a1 + 1180) != *((float *)&v6 + 1) )
sub_10030BA7C(a1, 0);
v4 = *(double *)(a1 + 488) + a2;
*(double *)(a1 + 488) = v4;
*(float *)&v4 = a2;
return sub_10030B664(a1 + 408, v4);
}