//
// GauntletSelectLayer::~GauntletSelectLayer from 0xa718d4 to 0xa71998 (196 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'GauntletSelectLayer::~GauntletSelectLayer @ 0xa7199c
// > GauntletSelectLayer::~GauntletSelectLayer @ 0xa719b0
// > ??> @ 0xb2db0
// > ??> @ 0xd5dd8
// > ??> @ 0x1493268
//
// 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:00:23 +0000
//
// Alternative name is '_ZN19GauntletSelectLayerD2Ev'
void __fastcall GauntletSelectLayer::~GauntletSelectLayer(GauntletSelectLayer *this)
{
GauntletSelectLayer *v2; // x1
GameLevelManager *v3; // x0
GauntletSelectLayer *v4; // x1
GameManager *v5; // x0
cocos2d::CCObject *v6; // x0
*((_QWORD *)this + 52) = &off_1493848;
*(_QWORD *)this = &off_1493260;
*((_QWORD *)this + 40) = off_1493718;
*((_QWORD *)this + 41) = &off_1493788;
*((_QWORD *)this + 42) = off_14937A0;
*((_QWORD *)this + 43) = off_14937C0;
*((_QWORD *)this + 44) = off_14937E8;
*((_QWORD *)this + 51) = &off_1493818;
*((_QWORD *)this + 53) = off_1493880;
v2 = *(GauntletSelectLayer **)(GameLevelManager::sharedState((GameLevelManager *)off_1493880) + 1224);
v3 = (GauntletSelectLayer *)((char *)this + 416);
if ( v2 == (GauntletSelectLayer *)((char *)this + 416) )
{
v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);
*((_QWORD *)v3 + 153) = 0;
}
v4 = *(GauntletSelectLayer **)(GameManager::sharedState(v3) + 1296);
v5 = (GauntletSelectLayer *)((char *)this + 424);
if ( v4 == (GauntletSelectLayer *)((char *)this + 424) )
{
v5 = (GameManager *)GameManager::sharedState(v5);
*((_QWORD *)v5 + 162) = 0;
}
*(_DWORD *)(GameManager::sharedState(v5) + 1716) = 0;
v6 = *((cocos2d::CCObject **)this + 62);
if ( v6 )
cocos2d::CCObject::release(v6);
cocos2d::CCLayer::~CCLayer(this);
}