//
// GJShaderState::timesyncShaderAction from 0x54fa26 to 0x54fa7a (84 bytes)
//
// 2 xrefs:
// > GJShaderState::timesyncShaderActions @ 0x54fa86
// > ShaderLayer::tweenValueAuto @ 0x54fbc4
//
// 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 GJShaderState::timesyncShaderAction(GJShaderState *a1, int a2)
{
int *v3; // r0
int v4; // r6
float v5; // s15
int v6; // [sp+4h] [bp-4h] BYREF
v6 = a2;
v3 = (int *)sub_54B33C(a1, a2 % a1->m_tweenActions._M_h._M_bucket_count, &v6);
if ( v3 )
{
v4 = *v3;
if ( *v3 )
{
v5 = a1->m_time
- *(double *)std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[](
&a1->m_tweenTimes._M_h._M_buckets,
(unsigned int *)&v6);
GJValueTween::step((GJValueTween *)(v4 + 8), v5);
GJShaderState::updateTweenAction(a1, *(float *)(v4 + 24), v6);
}
}
}