//
// GJShaderState::updateTweenActions from 0x1003c9f40 to 0x1003c9fd8 (152 bytes)
//
// 0 xrefs:
//
// 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::updateTweenActions(GJShaderState *a1, float a2)
{
std::__hash_node_base, void *> *>::__next_pointer next; // r15
__int64 v4; // r12
void *v5; // rdi
void *__p; // [rsp+0h] [rbp-40h] BYREF
float v7; // [rsp+1Ch] [rbp-24h]
v7 = a2;
next = a1->m_tweenActions.__table_.__p1_.__value_.__next_;
if ( next )
{
do
{
GJValueTween::step((GJValueTween *)((char *)&next[2].__next_ + 4), v7);
GJShaderState::updateTweenAction(a1, *((float *)&next[4].__next_ + 1), (int)next[2].__next_);
if ( LOBYTE(next[6].__next_) == 1 )
{
v4 = (__int64)next->__next_;
sub_100056B40((__int64)&__p, (__int64 *)a1, (__int64 *)next);
v5 = __p;
__p = nullptr;
if ( v5 )
operator delete(v5);
}
else
{
v4 = (__int64)next->__next_;
}
next = (std::__hash_node_base, void *> *>::__next_pointer)v4;
}
while ( v4 );
}
}