//
// EditLevelLayer::~EditLevelLayer from 0x49f594 to 0x49f664 (208 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f66c
// > `non-virtual thunk to'EditLevelLayer::~EditLevelLayer @ 0x49f674
// > EditLevelLayer::~EditLevelLayer @ 0x49f67c
//
// 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:49:48 +0000
//
// Alternative name is '_ZN14EditLevelLayerD1Ev'
void __fastcall EditLevelLayer::~EditLevelLayer(EditLevelLayer *this)
{
cocos2d::CCObject *v2; // r0
cocos2d::CCObject *v3; // r0
int v4; // r3
int v5; // r3
EditLevelLayer **v6; // r0
*(_DWORD *)this = &off_C97D10;
*((_DWORD *)this + 66) = &off_C97F80;
*((_DWORD *)this + 67) = &off_C97FB8;
*((_DWORD *)this + 68) = &off_C97FC4;
*((_DWORD *)this + 69) = &off_C97FD4;
*((_DWORD *)this + 70) = &off_C97FE8;
*((_DWORD *)this + 79) = &off_C98000;
*((_DWORD *)this + 80) = &off_C98024;
*((_DWORD *)this + 81) = &off_C98030;
*((_DWORD *)this + 82) = &off_C98040;
*((_DWORD *)this + 83) = &off_C9804C;
*((_DWORD *)this + 84) = &off_C98058;
*((_DWORD *)this + 85) = &off_C9806C;
v2 = *((cocos2d::CCObject **)this + 88);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 87);
if ( v3 )
v3 = (cocos2d::CCObject *)cocos2d::CCObject::release(v3);
v4 = *((_DWORD *)this + 95);
if ( v4 )
*(_DWORD *)(v4 + 520) = 0;
v5 = *((_DWORD *)this + 98);
if ( v5 )
*(_DWORD *)(v5 + 852) = 0;
v6 = (EditLevelLayer **)GameLevelManager::sharedState(v3);
if ( v6[222] == (EditLevelLayer *)((char *)this + 324) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v6) + 888) = 0;
std::string::~string((int)this + 396);
std::string::~string((int)this + 368);
cocos2d::CCLayer::~CCLayer(this);
}