//
// EditLevelLayer::~EditLevelLayer from 0x7ed0ec to 0x7ed1f0 (260 bytes)
//
// 6 xrefs:
// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1f4
// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x7ed1fc
// > EditLevelLayer::~EditLevelLayer @ 0x7ed210
// > ??> @ 0xac7f8
// > ??> @ 0xf0130
// > ??> @ 0x143c4b8
//
// 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:54:33 +0000
//
// Alternative name is '_ZN14EditLevelLayerD1Ev'
void __fastcall EditLevelLayer::~EditLevelLayer(EditLevelLayer *this)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
__int64 v4; // x0
GameLevelManager *v5; // x0
v2 = *((cocos2d::CCObject **)this + 60);
*(_QWORD *)this = &off_143C4B0;
*((_QWORD *)this + 40) = off_143C990;
*((_QWORD *)this + 41) = &off_143CA00;
*((_QWORD *)this + 42) = off_143CA18;
*((_QWORD *)this + 43) = off_143CA38;
*((_QWORD *)this + 44) = off_143CA60;
*((_QWORD *)this + 51) = off_143CA90;
*((_QWORD *)this + 52) = &off_143CAD8;
*((_QWORD *)this + 53) = off_143CAF0;
*((_QWORD *)this + 54) = &off_143CB10;
*((_QWORD *)this + 55) = &off_143CB28;
*((_QWORD *)this + 56) = off_143CB40;
*((_QWORD *)this + 57) = &off_143CB68;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 59);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((_QWORD *)this + 66);
if ( v4 )
*(_QWORD *)(v4 + 664) = 0;
v5 = *((GameLevelManager **)this + 69);
if ( v5 )
*((_QWORD *)v5 + 148) = 0;
if ( *(EditLevelLayer **)(GameLevelManager::sharedState(v5) + 1360) == (EditLevelLayer *)((char *)this + 424) )
*(_QWORD *)(GameLevelManager::sharedState((EditLevelLayer *)((char *)this + 424)) + 1360) = 0;
if ( (*((_BYTE *)this + 560) & 1) != 0 )
operator delete(*((void **)this + 72));
if ( (*((_BYTE *)this + 504) & 1) != 0 )
operator delete(*((void **)this + 65));
cocos2d::CCLayer::~CCLayer(this);
}