//
// UILayer::~UILayer from 0x6ee1e8 to 0x6ee284 (156 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'UILayer::~UILayer @ 0x6ee288
// > UILayer::~UILayer @ 0x6ee29c
// > ??> @ 0x6c5b0
// > ??> @ 0xf11f8
// > ??> @ 0x14277f8
//
// 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 12:51:47 +0000
//
// Alternative name is '_ZN7UILayerD1Ev'
void __fastcall UILayer::~UILayer(UILayer *this)
{
GJKeybindManager *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
*(_QWORD *)this = &off_14277F0;
*((_QWORD *)this + 40) = off_1427D28;
*((_QWORD *)this + 41) = &off_1427D98;
*((_QWORD *)this + 42) = off_1427DB0;
*((_QWORD *)this + 43) = off_1427DD0;
*((_QWORD *)this + 44) = off_1427DF8;
*((_QWORD *)this + 51) = &off_1427E28;
*((_QWORD *)this + 54) = &off_1427EA8;
*((_QWORD *)this + 68) = off_1427EC8;
v2 = (GJKeybindManager *)GJKeybindManager::sharedState((GJKeybindManager *)off_1427EC8);
GJKeybindManager::clearMovementOverride(v2);
v3 = *((cocos2d::CCObject **)this + 77);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 79);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 80);
if ( v5 )
cocos2d::CCObject::release(v5);
cocos2d::CCLayerColor::~CCLayerColor(this);
}