//
// CCLightStrip::updateTweenAction from 0x6c80c8 to 0x6c82ec (548 bytes)
//
// 2 xrefs:
// > ??> @ 0x5e4e0
// > ??> @ 0x1421710
//
// 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 12:51:22 +0000
//
__int64 __fastcall CCLightStrip::updateTweenAction(CCLightStrip *this, float a2, char *a3)
{
size_t v6; // x0
_BOOL4 v7; // w23
size_t v9; // x0
_BOOL4 v10; // w23
size_t v11; // x0
_BOOL4 v12; // w20
__int64 v13; // [xsp+58h] [xbp+58h] BYREF
__int64 v14; // [xsp+60h] [xbp+60h]
void *v15; // [xsp+68h] [xbp+68h]
__int64 v16; // [xsp+70h] [xbp+70h] BYREF
__int64 v17; // [xsp+78h] [xbp+78h]
void *v18; // [xsp+80h] [xbp+80h]
v13 = 0;
v14 = 0;
v15 = nullptr;
v6 = strlen(a3);
std::string::__init(&v13, a3, v6);
v16 = 0;
v17 = 0;
v18 = nullptr;
std::string::__init(&v16, "height", 6u);
v7 = sub_6C7584((__int64)&v13, (__int64)&v16);
if ( (v16 & 1) != 0 )
operator delete(v18);
if ( (v13 & 1) != 0 )
{
operator delete(v15);
if ( v7 )
goto LABEL_5;
}
else if ( v7 )
{
LABEL_5:
*((float *)this + 86) = a2;
return _stack_chk_guard;
}
v13 = 0;
v14 = 0;
v15 = nullptr;
v9 = strlen(a3);
std::string::__init(&v13, a3, v9);
v16 = 0;
v17 = 0;
v18 = nullptr;
std::string::__init(&v16, "width", 5u);
v10 = sub_6C7584((__int64)&v13, (__int64)&v16);
if ( (v16 & 1) != 0 )
operator delete(v18);
if ( (v13 & 1) != 0 )
{
operator delete(v15);
if ( v10 )
goto LABEL_12;
}
else if ( v10 )
{
LABEL_12:
*((float *)this + 85) = a2;
return _stack_chk_guard;
}
v13 = 0;
v14 = 0;
v15 = nullptr;
v11 = strlen(a3);
std::string::__init(&v13, a3, v11);
v16 = 0;
v17 = 0;
v18 = nullptr;
std::string::__init(&v16, "opacity", 7u);
v12 = sub_6C7584((__int64)&v13, (__int64)&v16);
if ( (v16 & 1) != 0 )
operator delete(v18);
if ( (v13 & 1) != 0 )
operator delete(v15);
if ( v12 )
*((float *)this + 84) = a2;
return _stack_chk_guard;
}