//
// GauntletSelectLayer::~GauntletSelectLayer from 0x609f94 to 0x60a036 (162 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'GauntletSelectLayer::~GauntletSelectLayer @ 0x60a040
// > GauntletSelectLayer::~GauntletSelectLayer @ 0x60a048
//
// 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:54:47 +0000
//
// Alternative name is '_ZN19GauntletSelectLayerD1Ev'
void __fastcall GauntletSelectLayer::~GauntletSelectLayer(GauntletSelectLayer *this)
{
GameLevelManager *v2; // r0
GameManager *v3; // r0
cocos2d::CCObject *v4; // r0
*(_DWORD *)this = &off_CC35E0;
*((_DWORD *)this + 66) = &off_CC383C;
*((_DWORD *)this + 67) = &off_CC3874;
*((_DWORD *)this + 68) = &off_CC3880;
*((_DWORD *)this + 69) = &off_CC3890;
*((_DWORD *)this + 70) = &off_CC38A4;
*((_DWORD *)this + 79) = &off_CC38BC;
*((_DWORD *)this + 80) = &off_CC38D4;
*((_DWORD *)this + 81) = &off_CC38F0;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( *((GauntletSelectLayer **)v2 + 205) == (GauntletSelectLayer *)((char *)this + 320) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_DWORD *)v2 + 205) = 0;
}
v3 = (GameManager *)GameManager::sharedState(v2);
if ( *((GauntletSelectLayer **)v3 + 248) == (GauntletSelectLayer *)((char *)this + 324) )
{
v3 = (GameManager *)GameManager::sharedState(v3);
*((_DWORD *)v3 + 248) = 0;
}
*(_DWORD *)(GameManager::sharedState(v3) + 1320) = 0;
v4 = *((cocos2d::CCObject **)this + 90);
if ( v4 )
cocos2d::CCObject::release(v4);
cocos2d::CCLayer::~CCLayer(this);
}