//
// cocos2d::CCTextureAtlas::~CCTextureAtlas from 0x7fff5c to 0x7fffac (80 bytes)
//
// 1 xrefs:
// > cocos2d::CCTextureAtlas::~CCTextureAtlas @ 0x7fffb8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:19 +0000
//
// Alternative name is '_ZN7cocos2d14CCTextureAtlasD1Ev'
void __fastcall cocos2d::CCTextureAtlas::~CCTextureAtlas(cocos2d::CCTextureAtlas *this)
{
void *v2; // r0
void *v3; // r0
cocos2d::CCNotificationCenter *v4; // r0
cocos2d::CCObject *v5; // r0
*(_DWORD *)this = &off_D11FB0;
v2 = *((void **)this + 20);
if ( v2 )
{
free(v2);
*((_DWORD *)this + 20) = 0;
}
v3 = *((void **)this + 13);
if ( v3 )
{
free(v3);
*((_DWORD *)this + 13) = 0;
}
glDeleteBuffers();
v4 = *((cocos2d::CCNotificationCenter **)this + 19);
if ( v4 )
v4 = (cocos2d::CCNotificationCenter *)cocos2d::CCObject::release(v4);
v5 = (cocos2d::CCObject *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v4);
cocos2d::CCNotificationCenter::removeObserver(v5, this, "event_come_to_foreground");
cocos2d::CCObject::~CCObject(this);
}