//
// NewsPopup::~NewsPopup from 0x6c2c58 to 0x6c2d3a (226 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'NewsPopup::~NewsPopup @ 0x6c2d44
// > NewsPopup::~NewsPopup @ 0x6c2d4c
//
// 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 11:56:52 +0000
//
// Alternative name is '_ZN9NewsPopupD1Ev'
void __fastcall NewsPopup::~NewsPopup(NewsPopup *this)
{
char *v2; // r6
cocos2d::CCArray **v3; // r0
cocos2d::CCTextureCache *v4; // r0
cocos2d::CCTextureCache *i; // r5
cocos2d::CCTextureCache *v6; // r0
const char *v7; // r1
int v8; // r5
int v9; // r0
void **v10; // r0
*(_DWORD *)this = &off_CE4C28;
*((_DWORD *)this + 66) = &off_CE4EE4;
*((_DWORD *)this + 67) = &off_CE4F1C;
*((_DWORD *)this + 68) = &off_CE4F28;
*((_DWORD *)this + 69) = &off_CE4F38;
*((_DWORD *)this + 70) = &off_CE4F4C;
*((_DWORD *)this + 79) = &off_CE4F64;
*((_DWORD *)this + 83) = &off_CE4FA4;
*((_DWORD *)this + 110) = &off_CE4FB4;
*((_DWORD *)this + 130) = &off_CE4FD8;
*((_DWORD *)this + 131) = &off_CE4FE4;
v2 = (char *)this + 604;
v3 = (cocos2d::CCArray **)MusicDownloadManager::sharedState(this);
v4 = (cocos2d::CCTextureCache *)MusicDownloadManager::removeMusicDownloadDelegate(
v3,
(NewsPopup *)((char *)this + 524));
for ( i = *((cocos2d::CCTextureCache **)this + 150); i != (cocos2d::CCTextureCache *)v2; i = v4 )
{
v6 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v4);
if ( (*((_BYTE *)i + 16) & 1) != 0 )
v7 = *((const char **)i + 6);
else
v7 = (char *)i + 17;
cocos2d::CCTextureCache::removeTextureForKey(v6, v7);
v4 = (cocos2d::CCTextureCache *)std::__tree_next *>(i);
}
std::__tree::destroy((int)this + 600, *((_DWORD **)this + 151));
std::__tree::destroy((int)this + 588, *((_DWORD **)this + 148));
std::string::~string((int)this + 576);
v8 = *((_DWORD *)this + 132);
if ( v8 )
{
while ( 1 )
{
v9 = *((_DWORD *)this + 133);
if ( v8 == v9 )
break;
v10 = (void **)(v9 - 40);
*((_DWORD *)this + 133) = v10;
NewsItem::~NewsItem(v10);
}
operator delete(*((void **)this + 132));
}
FLAlertLayer::~FLAlertLayer(this);
}