//
// cocos2d::CCAnimate::~CCAnimate from 0xd317a4 to 0xd3183c (152 bytes)
//
// 4 xrefs:
// > cocos2d::CCAnimate::~CCAnimate @ 0xd3184c
// > ??> @ 0x6e8c0
// > ??> @ 0xa7f98
// > ??> @ 0x1514718
//
// 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 13:07:20 +0000
//
// Alternative name is '_ZN7cocos2d9CCAnimateD2Ev'
void __fastcall cocos2d::CCAnimate::~CCAnimate(cocos2d::CCAnimate *this)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
void **v4; // x20
char *v5; // x0
char *v6; // x2
v2 = *((cocos2d::CCObject **)this + 12);
*(_QWORD *)this = &off_1514710;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 15);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((void ***)this + 13);
if ( v4 )
{
v5 = (char *)*v4;
if ( *v4 )
{
v6 = (char *)v4[1];
if ( v5 != v6 )
v4[1] = &v6[4 * ~((unsigned __int64)(v6 - 4 - v5) >> 2)];
operator delete(v5);
}
operator delete(v4);
*((_QWORD *)this + 13) = 0;
}
*(_QWORD *)this = &off_1510C40;
cocos2d::CCAction::~CCAction(this);
}