//
// cocos2d::CCActionTween::~CCActionTween from 0x18003ce70 to 0x18003cee2 (114 bytes)
//
// 4 xrefs:
// > sub_18003CEF0 @ 0x18003cf52
// > sub_18003CEF0 @ 0x18003cf0c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b10ec
//
// 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 cocos2d::CCActionTween::~CCActionTween(cocos2d::CCActionTween *this)
{
std::size_t m_capacity; // rdx
char *m_bigStorage; // rcx
m_capacity = this->m_strKey.m_data.m_capacity;
if ( m_capacity > 0xF )
{
m_bigStorage = this->m_strKey.m_data.m_bigStorage;
if ( m_capacity + 1 >= 0x1000 )
{
if ( (unsigned __int64)&m_bigStorage[-*((_QWORD *)m_bigStorage - 1) - 8] > 0x1F )
invalid_parameter_noinfo_noreturn();
m_bigStorage = *((char **)m_bigStorage - 1);
}
j_j_free_0(m_bigStorage);
}
this->m_strKey.m_data.m_size = 0;
this->m_strKey.m_data.m_capacity = 15;
this->m_strKey.m_data.m_smallStorage._Elems[0] = 0;
this->__vftable = (cocos2d::CCActionTween_vtbl *)&cocos2d::CCFiniteTimeAction::`vftable';
cocos2d::CCAction::~CCAction(this);
}