//
// cocos2d::CCTMXLayer::~CCTMXLayer from 0x803ab4 to 0x803b24 (112 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXLayer::~CCTMXLayer @ 0x803b2c
//
// 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 12:01:22 +0000
//
// Alternative name is '_ZN7cocos2d10CCTMXLayerD1Ev'
void __fastcall cocos2d::CCTMXLayer::~CCTMXLayer(cocos2d::CCTMXLayer *this)
{
_DWORD *v2; // r0
_DWORD *v3; // r0
_DWORD *v4; // r0
int v5; // r0
void *v6; // r0
*(_DWORD *)this = &off_D122F0;
*((_DWORD *)this + 66) = &off_D124D8;
v2 = *((_DWORD **)this + 77);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((_DWORD **)this + 88);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((_DWORD **)this + 79);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((_DWORD *)this + 89);
if ( v5 )
{
cocos2d::ccCArrayFree(v5);
*((_DWORD *)this + 89) = 0;
}
v6 = *((void **)this + 76);
if ( v6 )
{
operator delete[](v6);
*((_DWORD *)this + 76) = 0;
}
if ( (*((_BYTE *)this + 320) & 1) != 0 )
operator delete(*((void **)this + 82));
cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode(this);
}