//
// cocos2d::CCNode::~CCNode from 0x7c4244 to 0x7c4312 (206 bytes)
//
// 114 xrefs:
// > AchievementNotifier::~AchievementNotifier @ 0x395cc2
// > AchievementManager::~AchievementManager @ 0x395f52
// > BonusDropdown::~BonusDropdown @ 0x3c00a2
// > cocos2d::CCLightning::~CCLightning @ 0x3c5c2e
// > cocos2d::CCLightning::CCLightning @ 0x3c5f8c
// > FileSaveManager::~FileSaveManager @ 0x3caef8
// > sub_3CC45C @ 0x3cc55a
// > GManager::~GManager @ 0x3d406c
// > ObjectManager::~ObjectManager @ 0x3d6900
// > OBB2D::~OBB2D @ 0x3d748a
// > OBB2D::create @ 0x3d78f8
// > PriceLabel::~PriceLabel @ 0x3d7afa
// > SpriteAnimationManager::~SpriteAnimationManager @ 0x3d7f7e
// > GooglePlayManager::~GooglePlayManager @ 0x3db8fa
// > GhostTrailEffect::~GhostTrailEffect @ 0x3e4c06
// > GhostTrailEffect::create @ 0x3e505a
// > CCCircleWave::~CCCircleWave @ 0x3e517a
// > CCAlertCircle::~CCAlertCircle @ 0x3e51be
// > CCCircleWave::CCCircleWave @ 0x3e5452
// > CCLightFlash::~CCLightFlash @ 0x3e5ada
// > CCLightStrip::~CCLightStrip @ 0x3e5b0a
// > ListButtonBar::~ListButtonBar @ 0x3e69c2
// > FMODAudioEngine::~FMODAudioEngine @ 0x3ea33e
// > SectionedContentNode::~SectionedContentNode @ 0x3f464a
// > GJUINode::~GJUINode @ 0x3fc24e
// > GJUINode::create @ 0x3fd5e0
// > GameManager::~GameManager @ 0x415cae
// > GameManager::sharedState @ 0x416222
// > LevelSettingsObject::~LevelSettingsObject @ 0x46717e
// > GameEffectsManager::~GameEffectsManager @ 0x48e23e
// > GJGameLevel::~GJGameLevel @ 0x4ac642
// > GJMapPack::~GJMapPack @ 0x4ac6c6
// > GJUserScore::~GJUserScore @ 0x4ac760
// > GJFriendRequest::~GJFriendRequest @ 0x4ac7a0
// > GJUserMessage::~GJUserMessage @ 0x4ac7f0
// > GJSearchObject::~GJSearchObject @ 0x4ac838
// > GJComment::~GJComment @ 0x4ac88a
// > GJHttpResult::~GJHttpResult @ 0x4ac8cc
// > GJLevelList::~GJLevelList @ 0x4acb10
// > GJMapPack::create @ 0x4b15f6
// > GJGameLevel::create @ 0x4b1b64
// > GameLevelManager::~GameLevelManager @ 0x4b208a
// > EditButtonBar::~EditButtonBar @ 0x4ddca0
// > EditButtonBar::create @ 0x4de734
// > CustomSongWidget::~CustomSongWidget @ 0x4e3312
// > GJStoreItem::~GJStoreItem @ 0x51563e
// > GameStatsManager::~GameStatsManager @ 0x518a28
// > LocalLevelManager::~LocalLevelManager @ 0x542976
// > ObjectToolbox::~ObjectToolbox @ 0x54811c
// > GJObjectDecoder::~GJObjectDecoder @ 0x569c38
// > MusicDelegateHandler::~MusicDelegateHandler @ 0x56abce
// > SongInfoObject::~SongInfoObject @ 0x56d134
// > MusicDownloadManager::~MusicDownloadManager @ 0x56d4ea
// > SongSelectNode::~SongSelectNode @ 0x57afc4
// > GJAccountManager::~GJAccountManager @ 0x5813ee
// > CCNodeContainer::~CCNodeContainer @ 0x58b6da
// > ColorActionSprite::~ColorActionSprite @ 0x5c1fc2
// > GJEffectManager::~GJEffectManager @ 0x5ccb62
// > TextAlertPopup::~TextAlertPopup @ 0x5d38ca
// > FMODLevelVisualizer::~FMODLevelVisualizer @ 0x5d38fa
// > GJSelectionStrip::~GJSelectionStrip @ 0x5d41d6
// > GJSelectionStrip::create @ 0x5d4fa2
// > ConfigureHSVWidget::~ConfigureHSVWidget @ 0x5e49f4
// > FriendRowEdges::~FriendRowEdges @ 0x5f3316
// > ChallengeNode::~ChallengeNode @ 0x5ff3e2
// > ChallengeNode::create @ 0x6000ca
// > DailyLevelNode::~DailyLevelNode @ 0x606d38
// > DailyLevelNode::create @ 0x6079b6
// > GauntletNode::~GauntletNode @ 0x60a12a
// > GauntletSprite::~GauntletSprite @ 0x60db06
// > DungeonBarsSprite::~DungeonBarsSprite @ 0x61a682
// > GJWorldNode::~GJWorldNode @ 0x62c98a
// > GJWorldNode::create @ 0x62dd66
// > CommunityCreditNode::~CommunityCreditNode @ 0x637838
// > GJMapObject::~GJMapObject @ 0x63e8d6
// > GJMapObject::create @ 0x63ef88
// > GJBigSpriteNode::~GJBigSpriteNode @ 0x63f68c
// > GJBigSpriteNode::create @ 0x63f704
// > GJBigSprite::~GJBigSprite @ 0x63f74a
// > GJMultiplayerManager::~GJMultiplayerManager @ 0x641010
// > GJSmartBlockPreviewSprite::~GJSmartBlockPreviewSprite @ 0x66e6a2
// > GJSmartBlockPreview::~GJSmartBlockPreview @ 0x66f21c
// > GJActionManager::~GJActionManager @ 0x69df36
// > ExplodeItemNode::~ExplodeItemNode @ 0x69e10c
// > CustomSFXWidget::~CustomSFXWidget @ 0x6a5e00
// > PlayerCheckpoint::create @ 0x717888
// > PlayerCheckpoint::~PlayerCheckpoint @ 0x717a2e
// > CheckpointObject::create @ 0x71e2e2
// > CheckpointObject::~CheckpointObject @ 0x72b6ea
// > ControllerInputNode::~ControllerInputNode @ 0x7650e2
// > ControllerInputNode::create @ 0x76589e
// > DeathHistogram::~DeathHistogram @ 0x7663b2
// > DeathHistogram::create @ 0x766cf2
// > DeathMarkerLayer::~DeathMarkerLayer @ 0x76a120
// > Dropdown::~Dropdown @ 0x777406
// > Dropdown::create @ 0x777a2a
// > GJEditorSoundConfig::~GJEditorSoundConfig @ 0x78d71c
// > IDNameInput::~IDNameInput @ 0x7937d6
// > IDNameInput::create @ 0x7949b8
// > TimeSpeedControl::~TimeSpeedControl @ 0x7a21c2
// > VirtualKeyboardNode::~VirtualKeyboardNode @ 0x7a532c
// > cocos2d::extension::CCTableViewCell::~CCTableViewCell @ 0x7b03e6
// > cocos2d::CCNode::~CCNode @ 0x7c431c
// > cocos2d::CCNodeRGBA::~CCNodeRGBA @ 0x7c4344
// > cocos2d::CCLayer::~CCLayer @ 0x7d7c3e
// > cocos2d::CCScene::~CCScene @ 0x7d85c6
// > cocos2d::CCClippingNode::~CCClippingNode @ 0x7de45e
// > cocos2d::CCRenderTexture::~CCRenderTexture @ 0x7e02b0
// > cocos2d::CCParticleSystem::~CCParticleSystem @ 0x7e46a8
// > cocos2d::CCParticleBatchNode::~CCParticleBatchNode @ 0x7e5840
// > cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode @ 0x7f22a2
// > cocos2d::CCParallaxNode::~CCParallaxNode @ 0x8036b0
// > cocos2d::CCTMXTiledMap::~CCTMXTiledMap @ 0x804f5e
// > ObjectDecoder::~ObjectDecoder @ 0x81b7ca
//
// 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:00:23 +0000
//
// Alternative name is '_ZN7cocos2d6CCNodeD1Ev'
void __fastcall cocos2d::CCNode::~CCNode(cocos2d::CCObject **this)
{
cocos2d::CCScriptEngineManager *v2; // r0
_DWORD *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
int v10; // r0
cocos2d::CCArray *v11; // r0
int v12; // r3
int *v13; // r2
int v14; // r3
int *v15; // r2
int *v16; // r3
cocos2d::CCObject *v17; // r0
int v18; // r1
int v19; // t1
*this = (cocos2d::CCObject *)&off_D04B08;
v2 = cocos2d::CCNode::unregisterScriptHandler((cocos2d::CCScriptEngineManager *)this);
if ( *(this + 62) )
{
v3 = (_DWORD *)cocos2d::CCScriptEngineManager::sharedManager(v2);
(*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*v3 + 16))(*v3, *(this + 62));
}
v4 = *(this + 55);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(this + 54);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *(this + 46);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *(this + 47);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *(this + 52);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *(this + 51);
if ( v9 )
cocos2d::CCObject::release(v9);
(*(void (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 64) + 24))(*(this + 64));
v10 = (int)*(this + 64);
if ( v10 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v10 + 4))(v10);
*(this + 64) = nullptr;
}
v11 = *(this + 48);
if ( v11 )
{
if ( cocos2d::CCArray::count(v11) )
{
v12 = (int)*(this + 48);
if ( v12 )
{
v13 = *(int **)(v12 + 52);
v14 = *v13;
if ( *v13 )
{
v15 = (int *)v13[3];
v16 = &v15[v14 - 1];
while ( v15 <= v16 )
{
v19 = *v15++;
v18 = v19;
if ( !v19 )
break;
*(_DWORD *)(v18 + 196) = 0;
}
}
}
}
}
v17 = *(this + 48);
if ( v17 )
cocos2d::CCObject::release(v17);
cocos2d::CCObject::~CCObject((cocos2d::CCObject *)this);
}