//
// GJShaderState::timesyncShaderAction from 0x10026d908 to 0x10026d994 (140 bytes)
//
// 2 xrefs:
// > GJShaderState::timesyncShaderActions @ 0x10026d8f0
// > ShaderLayer::tweenValueAuto @ 0x100270198
//
// 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 GJShaderState::timesyncShaderAction(GJShaderState *a1, int a2)
{
__int64 *v3; // x0
__int64 *v4; // x20
float v5; // s0
int v6; // [xsp+0h] [xbp-30h] BYREF
int *v7; // [xsp+8h] [xbp-28h] BYREF
v6 = a2;
v3 = sub_100018814(a1, &v6);
if ( v3 )
{
v4 = v3;
v7 = &v6;
v5 = a1->m_time
- *((double *)sub_100019F24((unsigned __int64)&a1->m_tweenTimes, &v6, (__int64)&unk_100642BA1, &v7) + 3);
GJValueTween::step((GJValueTween *)((char *)v4 + 20), v5);
GJShaderState::updateTweenAction(a1, *((float *)v4 + 9), v6);
}
}