//
// DeathMarkerLayer::~DeathMarkerLayer from 0x76a058 to 0x76a12a (210 bytes)
//
// 1 xrefs:
// > DeathMarkerLayer::~DeathMarkerLayer @ 0x76a138
//
// 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:59:10 +0000
//
// Alternative name is '_ZN16DeathMarkerLayerD1Ev'
void __fastcall DeathMarkerLayer::~DeathMarkerLayer(DeathMarkerLayer *this)
{
int v2; // r0
unsigned int i; // r5
int v4; // r2
int v5; // r8
int v6; // r0
int v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
char **j; // r5
char *v11; // r6
void *v12; // r0
char *v13; // r0
char *v14; // r3
*(_DWORD *)this = &off_CF5450;
v2 = *((_DWORD *)this + 80);
if ( v2 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 260))(v2);
cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 80));
}
for ( i = 0; ; ++i )
{
v4 = *((_DWORD *)this + 66);
if ( i >= 954437177 * ((*((_DWORD *)this + 67) - v4) >> 3) )
break;
v5 = 72 * i;
v6 = *(_DWORD *)(v4 + 72 * i + 64);
if ( v6 )
(*(void (__fastcall **)(int))(*(_DWORD *)v6 + 368))(v6);
v7 = *(_DWORD *)(*((_DWORD *)this + 66) + v5 + 68);
if ( v7 )
(*(void (__fastcall **)(int))(*(_DWORD *)v7 + 368))(v7);
v8 = *(cocos2d::CCObject **)(*((_DWORD *)this + 66) + v5 + 64);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *(cocos2d::CCObject **)(v5 + *((_DWORD *)this + 66) + 68);
if ( v9 )
cocos2d::CCObject::release(v9);
}
for ( j = *((char ***)this + 71); j; j = (char **)v11 )
{
v11 = *j;
std::__vector_base::~__vector_base(j + 3);
operator delete(j);
}
v12 = *((void **)this + 69);
*((_DWORD *)this + 69) = 0;
if ( v12 )
operator delete(v12);
v13 = *((char **)this + 66);
if ( v13 )
{
while ( 1 )
{
v14 = *((char **)this + 67);
if ( v13 == v14 )
break;
*((_DWORD *)this + 67) = v14 - 72;
}
operator delete(v13);
}
cocos2d::CCNode::~CCNode(this);
}