//
// ThreadViewPopup::~ThreadViewPopup from 0xc71e18 to 0xc71fc0 (424 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'ThreadViewPopup::~ThreadViewPopup @ 0xc71fc4
// > ThreadViewPopup::~ThreadViewPopup @ 0xc71fd8
// > ??> @ 0xc2350
// > ??> @ 0x104638
// > ??> @ 0x14ec518
//
// 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:05:31 +0000
//
// Alternative name is '_ZN15ThreadViewPopupD2Ev'
void __fastcall ThreadViewPopup::~ThreadViewPopup(ThreadViewPopup *this)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
__int64 v6; // x0
char *v7; // x0
char *v8; // x3
void **v9; // x20
void **v10; // x0
*((_QWORD *)this + 85) = off_14ECD98;
*(_QWORD *)this = &off_14EC510;
*((_QWORD *)this + 40) = off_14ECB00;
*((_QWORD *)this + 41) = &off_14ECB70;
*((_QWORD *)this + 42) = off_14ECB88;
*((_QWORD *)this + 43) = off_14ECBA8;
*((_QWORD *)this + 44) = off_14ECBD0;
*((_QWORD *)this + 51) = &off_14ECC00;
*((_QWORD *)this + 54) = &off_14ECC80;
*((_QWORD *)this + 68) = off_14ECCA0;
*((_QWORD *)this + 83) = &off_14ECCE8;
*((_QWORD *)this + 84) = &off_14ECD18;
*((_QWORD *)this + 86) = &off_14ECDC0;
if ( *(ThreadViewPopup **)(GameLevelManager::sharedState((GameLevelManager *)&off_14ECDC0) + 1264) == (ThreadViewPopup *)((char *)this + 672) )
*(_QWORD *)(GameLevelManager::sharedState((ThreadViewPopup *)((char *)this + 672)) + 1264) = 0;
v2 = *((cocos2d::CCObject **)this + 104);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 95);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 142);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 94);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((_QWORD *)this + 116);
if ( v6 )
*(_QWORD *)(v6 + 584) = 0;
if ( (*((_BYTE *)this + 1112) & 1) != 0 )
operator delete(*((void **)this + 141));
v7 = *((char **)this + 134);
if ( v7 )
{
v8 = *((char **)this + 135);
if ( v7 != v8 )
*((_QWORD *)this + 135) = &v8[-28
* ((0x2DB6DB6DB6DB6DB7LL * ((unsigned __int64)(v8 - 28 - v7) >> 2))
& 0x3FFFFFFFFFFFFFFFLL)
- 28];
operator delete(v7);
}
if ( (*((_BYTE *)this + 976) & 1) != 0 )
operator delete(*((void **)this + 124));
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::~__tree((__int64)this + 720);
v9 = *((void ***)this + 87);
if ( v9 )
{
v10 = *((void ***)this + 88);
if ( v9 != v10 )
{
do
{
*((_QWORD *)this + 88) = v10 - 7;
if ( (*(_BYTE *)(v10 - 4) & 1) != 0 )
operator delete(*(v10 - 2));
v10 = *((void ***)this + 88);
}
while ( v9 != v10 );
v10 = *((void ***)this + 87);
}
operator delete(v10);
}
FLAlertLayer::~FLAlertLayer(this);
}