//
// GJShaderState::tweenValue from 0x1003c9a40 to 0x1003c9b2f (239 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::tweenValue(GJShaderState *a1, float a2, float a3, int a4, float a5, int a6, float a7)
{
__int64 v8; // rax
int *v9; // [rsp+0h] [rbp-60h] BYREF
float v10; // [rsp+8h] [rbp-58h]
__int64 v11; // [rsp+Ch] [rbp-54h]
int v12; // [rsp+14h] [rbp-4Ch]
float v13; // [rsp+18h] [rbp-48h]
__int16 v14; // [rsp+1Ch] [rbp-44h]
__int64 v15; // [rsp+20h] [rbp-40h]
int v16; // [rsp+28h] [rbp-38h] BYREF
float v17; // [rsp+2Ch] [rbp-34h]
float v18; // [rsp+30h] [rbp-30h]
float v19; // [rsp+34h] [rbp-2Ch]
double m_time; // [rsp+38h] [rbp-28h]
_BYTE v21[25]; // [rsp+47h] [rbp-19h] BYREF
v18 = a7;
v17 = a5;
*(float *)&m_time = a3;
v19 = a2;
v16 = a4;
LODWORD(v9) = a4;
sub_1000569A0(a1, (int *)&v9);
if ( v17 <= 0.0 )
{
GJShaderState::updateTweenAction(a1, *(float *)&m_time, a4);
}
else
{
v11 = 0;
v14 = 0;
v9 = (int *)__PAIR64__(LODWORD(m_time), LODWORD(v19));
v10 = v17;
v12 = a6;
v13 = v18;
v15 = -1;
sub_100165AA0((__int64)a1, &v16, &v16, (__int128 *)&v9);
m_time = a1->m_time;
v9 = &v16;
v8 = sub_1003D2150(&a1->m_tweenTimes, &v16, &unk_10081AF06, &v9, v21);
*(double *)(v8 + 24) = m_time;
}
}