//
// cocos2d::CCMotionStreak::~CCMotionStreak from 0x18005ea20 to 0x18005eaf5 (213 bytes)
//
// 4 xrefs:
// > sub_18005EB00 @ 0x18005eb5e
// > sub_18005EB00 @ 0x18005eb1c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd390
//
// This function is hookable on this platform (idp: pc, 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:21:50 +0000
//
void __fastcall cocos2d::CCMotionStreak::~CCMotionStreak(cocos2d::CCMotionStreak *this)
{
cocos2d::CCObject *v2; // rcx
void *v3; // rcx
void *v4; // rcx
void *v5; // rcx
void *v6; // rcx
void *v7; // rcx
*(_QWORD *)this = &cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCMotionStreak::`vftable'{for `cocos2d::CCRGBAProtocol'};
*((_QWORD *)this + 43) = &cocos2d::CCMotionStreak::`vftable';
v2 = *((cocos2d::CCObject **)this + 45);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((void **)this + 51);
if ( v3 )
{
free(v3);
*((_QWORD *)this + 51) = 0;
}
v4 = *((void **)this + 50);
if ( v4 )
{
free(v4);
*((_QWORD *)this + 50) = 0;
}
v5 = *((void **)this + 52);
if ( v5 )
{
free(v5);
*((_QWORD *)this + 52) = 0;
}
v6 = *((void **)this + 53);
if ( v6 )
{
free(v6);
*((_QWORD *)this + 53) = 0;
}
v7 = *((void **)this + 54);
if ( v7 )
{
free(v7);
*((_QWORD *)this + 54) = 0;
}
cocos2d::CCNodeRGBA::~CCNodeRGBA(this);
}