//
// GJShaderState::timesyncShaderAction from 0x685e8e to 0x685ed6 (72 bytes)
//
// 2 xrefs:
// > GJShaderState::timesyncShaderActions @ 0x685ee2
// > ShaderLayer::tweenValueAuto @ 0x68617c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:04 +0000
//
float *__fastcall GJShaderState::timesyncShaderAction(GJShaderState *this, int a2)
{
float *result; // r0
float *v4; // r5
float v5; // s15
int v6; // [sp+4h] [bp-4h] BYREF
v6 = a2;
result = (float *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
this,
(unsigned int *)&v6);
v4 = result;
if ( result )
{
v5 = *((double *)this + 5)
- *(double *)std::unordered_map::operator[]((int)this + 20, (unsigned int *)&v6);
GJValueTween::step(COERCE_FLOAT(v4 + 3), v5);
return (float *)GJShaderState::updateTweenAction((int)this, v4[7], v6);
}
return result;
}