//
// GJShaderState::tweenValue from 0x1003b2f10 to 0x1003b2fff (239 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:29:27 +0000
//
__int64 __fastcall GJShaderState::tweenValue(
__int64 *a1,
unsigned int a2,
int a3,
float a4,
float a5,
float a6,
float a7)
{
__int64 result; // 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]
unsigned 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]
__int64 v20; // [rsp+38h] [rbp-28h]
_BYTE v21[25]; // [rsp+47h] [rbp-19h] BYREF
v18 = a7;
v17 = a6;
*(float *)&v20 = a5;
v19 = a4;
v16 = a2;
LODWORD(v9) = a2;
sub_10001C120(a1, (int *)&v9);
if ( v17 <= 0.0 )
return GJShaderState::updateTweenAction(a1, a2, *(float *)&v20);
v11 = 0;
v14 = 0;
v9 = (int *)__PAIR64__(v20, LODWORD(v19));
v10 = v17;
v12 = a3;
v13 = v18;
v15 = -1;
sub_100145000((__int64)a1, (int *)&v16, &v16, (__int128 *)&v9);
v20 = a1[10];
v9 = (int *)&v16;
result = sub_1003BB9B0(a1 + 5, &v16, &unk_100A09436, &v9, v21);
*(_QWORD *)(result + 24) = v20;
return result;
}