//
// AudioEffectsLayer::updateTweenAction from 0x10046e124 to 0x10046e1f8 (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x10096cb00
//
// 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 11:05:36 +0000
//
void __fastcall AudioEffectsLayer::updateTweenAction(__int64 a1, char *a2, float a3)
{
__int64 v5; // x24
size_t v6; // x8
void *v7; // x20
size_t v8; // x9
unsigned __int8 v9; // w21
void **v10; // x0
_QWORD *v11; // x1
size_t v12; // x2
_BOOL4 v13; // w22
_QWORD v14[2]; // [xsp+0h] [xbp-70h] BYREF
char v15; // [xsp+17h] [xbp-59h]
void *__p[2]; // [xsp+18h] [xbp-58h] BYREF
unsigned __int8 v17; // [xsp+2Fh] [xbp-41h]
sub_100009900(__p, a2);
sub_100009900(v14, "audioScale");
v5 = v15;
v7 = (void *)v14[0];
v6 = v14[1];
v8 = v17;
v9 = v17;
if ( (v17 & 0x80u) == 0 )
{
v10 = __p;
}
else
{
v8 = (size_t)__p[1];
v10 = (void **)__p[0];
}
if ( v15 < 0 )
{
v11 = (_QWORD *)v14[0];
}
else
{
v6 = v15;
v11 = v14;
}
if ( v6 >= v8 )
v12 = v8;
else
v12 = v6;
v13 = v6 == v8;
if ( memcmp(v10, v11, v12) )
v13 = 0;
if ( v5 < 0 )
{
operator delete(v7);
if ( (v17 & 0x80) == 0 )
{
LABEL_14:
if ( !v13 )
return;
goto LABEL_15;
}
}
else if ( (v9 & 0x80) == 0 )
{
goto LABEL_14;
}
operator delete(__p[0]);
if ( !v13 )
return;
LABEL_15:
*(float *)(a1 + 580) = a3;
}