//
// cocos2d::extension::AssetsManager::~AssetsManager from 0xd09640 to 0xd096e4 (164 bytes)
//
// 4 xrefs:
// > cocos2d::extension::AssetsManager::~AssetsManager @ 0xd096f4
// > ??> @ 0xbfaa0
// > ??> @ 0xfab28
// > ??> @ 0x1509c40
//
// 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:06:58 +0000
//
// Alternative name is '_ZN7cocos2d9extension13AssetsManagerD1Ev'
void __fastcall cocos2d::extension::AssetsManager::~AssetsManager(cocos2d::extension::AssetsManager *this)
{
cocos2d::CCObject *v2; // x0
char v3; // w0
void **v4; // x19
v2 = *((cocos2d::CCObject **)this + 17);
*(_QWORD *)this = off_1509C40;
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*((_BYTE *)this + 104) & 1) != 0 )
operator delete(*((void **)this + 15));
if ( (*((_BYTE *)this + 80) & 1) != 0 )
operator delete(*((void **)this + 12));
if ( (*((_BYTE *)this + 56) & 1) != 0 )
operator delete(*((void **)this + 9));
if ( (*((_BYTE *)this + 32) & 1) != 0 )
operator delete(*((void **)this + 6));
v3 = *((_BYTE *)this + 8);
v4 = (void **)((char *)this + 8);
if ( (v3 & 1) != 0 )
operator delete(v4[2]);
}