//
// GauntletLayer::~GauntletLayer from 0xa7782c to 0xa778b8 (140 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'GauntletLayer::~GauntletLayer @ 0xa778bc
// > GauntletLayer::~GauntletLayer @ 0xa778d0
// > ??> @ 0x8e4f8
// > ??> @ 0xc25a8
// > ??> @ 0x1494018
//
// 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:26 +0000
//
// Alternative name is '_ZN13GauntletLayerD2Ev'
void __fastcall GauntletLayer::~GauntletLayer(GauntletLayer *this)
{
cocos2d::CCObject *v2; // x0
*((_QWORD *)this + 44) = off_1494580;
*(_QWORD *)this = &off_1494010;
*((_QWORD *)this + 40) = off_14944B0;
*((_QWORD *)this + 41) = &off_1494520;
*((_QWORD *)this + 42) = off_1494538;
*((_QWORD *)this + 43) = off_1494558;
*((_QWORD *)this + 51) = &off_14945B0;
if ( *(GauntletLayer **)(GameLevelManager::sharedState((GameLevelManager *)&off_14945B0) + 1224) == (GauntletLayer *)((char *)this + 408) )
*(_QWORD *)(GameLevelManager::sharedState((GauntletLayer *)((char *)this + 408)) + 1224) = 0;
v2 = *((cocos2d::CCObject **)this + 58);
if ( v2 )
cocos2d::CCObject::release(v2);
cocos2d::CCLayer::~CCLayer(this);
}