//
// LevelBadgePopup::~LevelBadgePopup from 0xc62834 to 0xc628f4 (192 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'LevelBadgePopup::~LevelBadgePopup @ 0xc628f8
// > LevelBadgePopup::~LevelBadgePopup @ 0xc6290c
// > ??> @ 0xa6720
// > ??> @ 0xbaf88
// > ??> @ 0x14ed628
//
// 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:23 +0000
//
// Alternative name is '_ZN15LevelBadgePopupD1Ev'
void __fastcall LevelBadgePopup::~LevelBadgePopup(LevelBadgePopup *this)
{
LevelBadgePopup *v2; // x1
GameLevelManager *v3; // x0
__int64 v4; // x0
cocos2d::CCTouchDispatcher *v5; // x0
*((_QWORD *)this + 68) = off_14EDD20;
*(_QWORD *)this = &off_14ED620;
*((_QWORD *)this + 40) = off_14EDB80;
*((_QWORD *)this + 41) = &off_14EDBF0;
*((_QWORD *)this + 42) = off_14EDC08;
*((_QWORD *)this + 43) = off_14EDC28;
*((_QWORD *)this + 44) = off_14EDC50;
*((_QWORD *)this + 51) = &off_14EDC80;
*((_QWORD *)this + 54) = &off_14EDD00;
*((_QWORD *)this + 83) = &off_14EDD68;
v2 = *(LevelBadgePopup **)(GameLevelManager::sharedState((GameLevelManager *)&off_14EDD68) + 1224);
v3 = (LevelBadgePopup *)((char *)this + 664);
if ( v2 == (LevelBadgePopup *)((char *)this + 664) )
{
v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);
*((_QWORD *)v3 + 153) = 0;
}
v4 = cocos2d::CCDirector::sharedDirector(v3);
v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, this);
if ( (*((_BYTE *)this + 696) & 1) != 0 )
operator delete(*((void **)this + 89));
FLAlertLayer::~FLAlertLayer(this);
}