//
// cocos2d::CCPointArray::~CCPointArray from 0xd26690 to 0xd2672c (156 bytes)
//
// 4 xrefs:
// > cocos2d::CCPointArray::~CCPointArray @ 0xd2673c
// > ??> @ 0x4e670
// > ??> @ 0x72ad8
// > ??> @ 0x15110d8
//
// 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:14 +0000
//
// Alternative name is '_ZN7cocos2d12CCPointArrayD2Ev'
void __fastcall cocos2d::CCPointArray::~CCPointArray(cocos2d::CCPointArray *this)
{
void ***v2; // x20
void **v3; // x19
void **v4; // x0
void *v5; // t1
void ***v6; // x0
void **v7; // x2
v2 = *((void ****)this + 7);
*(_QWORD *)this = &off_15110D0;
v3 = *v2;
v4 = v2[1];
if ( *v2 != v4 )
{
do
{
v5 = *v3++;
operator delete(v5);
v6 = *((void ****)this + 7);
}
while ( v6[1] != v3 );
v2 = *((void ****)this + 7);
v4 = *v6;
}
if ( v4 )
{
v7 = v2[1];
if ( v4 != v7 )
v2[1] = &v7[~((unsigned __int64)((char *)(v7 - 1) - (char *)v4) >> 3)];
operator delete(v4);
}
operator delete(v2);
cocos2d::CCObject::~CCObject(this);
}