//
// GJShaderState::timesyncShaderAction from 0xb2ec68 to 0xb2ecd4 (108 bytes)
//
// 3 xrefs:
// > GJShaderState::timesyncShaderActions @ 0xb2ecf4
// > ShaderLayer::tweenValueAuto @ 0xb2f0f0
// > ??> @ 0xe5720
//
// 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 GJShaderState::timesyncShaderAction(GJShaderState *this, int a2)
{
__int64 *result; // x0
float *v4; // x19
float v5; // s0
int v6; // [xsp+2Ch] [xbp+2Ch] BYREF
v6 = a2;
result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
this,
&v6);
if ( result )
{
v4 = (float *)result + 5;
v5 = *((double *)this + 10) - *(double *)std::unordered_map::operator[]((__int64)this + 40, &v6);
GJValueTween::step((GJValueTween *)v4, v5);
return (__int64 *)GJShaderState::updateTweenAction((__int64)this, v4[4], v6);
}
return result;
}