//
// CCCircleWave::updateTweenAction from 0x6c716c to 0x6c7330 (452 bytes)
//
// 3 xrefs:
// > ??> @ 0x48b68
// > ??> @ 0x14208a0
// > ??> @ 0x1420c30
//
// 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:21 +0000
//
__int64 __fastcall CCCircleWave::updateTweenAction(CCCircleWave *this, float a2, char *a3)
{
size_t v6; // x0
_BOOL4 v7; // w24
__int64 v8; // x0
void (__fastcall *v9)(CCCircleWave *, __int64); // x21
__int64 v10; // x0
size_t v12; // x0
_BOOL4 v13; // w21
__int64 v14; // [xsp+58h] [xbp+58h] BYREF
__int64 v15; // [xsp+60h] [xbp+60h]
void *v16; // [xsp+68h] [xbp+68h]
__int64 v17; // [xsp+70h] [xbp+70h] BYREF
__int64 v18; // [xsp+78h] [xbp+78h]
void *v19; // [xsp+80h] [xbp+80h]
v14 = 0;
v15 = 0;
v16 = nullptr;
v6 = strlen(a3);
std::string::__init(&v14, a3, v6);
v17 = 0;
v18 = 0;
v19 = nullptr;
std::string::__init(&v17, "opacity", 7u);
v7 = sub_6C67E4((__int64)&v14, (__int64)&v17);
if ( (v17 & 1) != 0 )
operator delete(v19);
if ( (v14 & 1) != 0 )
{
operator delete(v16);
if ( v7 )
goto LABEL_5;
}
else if ( v7 )
{
LABEL_5:
*((float *)this + 84) = a2;
goto LABEL_6;
}
v14 = 0;
v15 = 0;
v16 = nullptr;
v12 = strlen(a3);
std::string::__init(&v14, a3, v12);
v17 = 0;
v18 = 0;
v19 = nullptr;
std::string::__init(&v17, "radius", 6u);
v13 = sub_6C67E4((__int64)&v14, (__int64)&v17);
if ( (v17 & 1) != 0 )
operator delete(v19);
if ( (v14 & 1) == 0 )
{
if ( !v13 )
goto LABEL_6;
goto LABEL_14;
}
operator delete(v16);
if ( v13 )
LABEL_14:
*((float *)this + 83) = a2;
LABEL_6:
v8 = *((_QWORD *)this + 40);
if ( v8 )
{
v9 = *(void (__fastcall **)(CCCircleWave *, __int64))(*(_QWORD *)this + 184LL);
v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8);
v9(this, v10);
}
return _stack_chk_guard;
}