//
// cocos2d::CCNode::~CCNode from 0xd3de54 to 0xd3df8c (312 bytes)
//
// 143 xrefs:
// > AchievementNotifier::~AchievementNotifier @ 0x642c60
// > AchievementManager::~AchievementManager @ 0x642fe0
// > BonusDropdown::~BonusDropdown @ 0x687604
// > BonusDropdown::~BonusDropdown @ 0x687628
// > cocos2d::CCLightning::~CCLightning @ 0x690818
// > cocos2d::CCLightning::CCLightning @ 0x690cac
// > FileSaveManager::~FileSaveManager @ 0x698be0
// > sub_69B0D8 @ 0x69b114
// > sub_69B118 @ 0x69b14c
// > GManager::~GManager @ 0x6a895c
// > GManager::~GManager @ 0x6a8994
// > ObjectManager::~ObjectManager @ 0x6ad0cc
// > OBB2D::~OBB2D @ 0x6ae704
// > OBB2D::~OBB2D @ 0x6ae728
// > OBB2D::create @ 0x6aee48
// > PriceLabel::~PriceLabel @ 0x6af1a0
// > PriceLabel::~PriceLabel @ 0x6af1c4
// > SpriteAnimationManager::~SpriteAnimationManager @ 0x6af710
// > GooglePlayManager::~GooglePlayManager @ 0x6b6984
// > GhostTrailEffect::~GhostTrailEffect @ 0x6c5fb4
// > GhostTrailEffect::create @ 0x6c6594
// > CCCircleWave::~CCCircleWave @ 0x6c66e0
// > CCAlertCircle::~CCAlertCircle @ 0x6c6730
// > CCCircleWave::create @ 0x6c6d70
// > CCCircleAlert::create @ 0x6c702c
// > CCLightFlash::~CCLightFlash @ 0x6c7514
// > CCLightStrip::~CCLightStrip @ 0x6c754c
// > CCLightStrip::~CCLightStrip @ 0x6c7570
// > ListButtonBar::~ListButtonBar @ 0x6c8b5c
// > FMODAudioEngine::~FMODAudioEngine @ 0x6cc94c
// > SectionedContentNode::~SectionedContentNode @ 0x6e1b34
// > SectionedContentNode::~SectionedContentNode @ 0x6e1b58
// > GJUINode::~GJUINode @ 0x6ee2c8
// > GJUINode::~GJUINode @ 0x6ee2ec
// > GJUINode::create @ 0x6f000c
// > GameManager::~GameManager @ 0x71cc24
// > GameManager::sharedState @ 0x71d5e4
// > LevelSettingsObject::~LevelSettingsObject @ 0x794a10
// > GameEffectsManager::~GameEffectsManager @ 0x7d440c
// > GJGameLevel::~GJGameLevel @ 0x7fdca8
// > GJMapPack::~GJMapPack @ 0x7fde94
// > GJUserScore::~GJUserScore @ 0x7fdf64
// > GJFriendRequest::~GJFriendRequest @ 0x7fe060
// > GJUserMessage::~GJUserMessage @ 0x7fe0e8
// > GJSearchObject::~GJSearchObject @ 0x7fe180
// > GJComment::~GJComment @ 0x7fe218
// > GJHttpResult::~GJHttpResult @ 0x7fe29c
// > GJLevelList::~GJLevelList @ 0x7fe350
// > GJGameLevel::create @ 0x80cce0
// > GameLevelManager::~GameLevelManager @ 0x812f24
// > EditButtonBar::~EditButtonBar @ 0x861074
// > EditButtonBar::create @ 0x861fec
// > CustomSongWidget::~CustomSongWidget @ 0x869880
// > GJStoreItem::~GJStoreItem @ 0x8c9300
// > GJStoreItem::~GJStoreItem @ 0x8c9324
// > GameStatsManager::~GameStatsManager @ 0x8d7c8c
// > LocalLevelManager::~LocalLevelManager @ 0x910e3c
// > ObjectToolbox::~ObjectToolbox @ 0x919e24
// > GJObjectDecoder::~GJObjectDecoder @ 0x9582a0
// > GJObjectDecoder::~GJObjectDecoder @ 0x9582cc
// > MusicDelegateHandler::~MusicDelegateHandler @ 0x959c54
// > SongInfoObject::~SongInfoObject @ 0x95eca4
// > MusicDownloadManager::~MusicDownloadManager @ 0x95f7ac
// > SongSelectNode::~SongSelectNode @ 0x97e71c
// > GJAccountManager::~GJAccountManager @ 0x987654
// > CCNodeContainer::~CCNodeContainer @ 0x998b64
// > CCNodeContainer::~CCNodeContainer @ 0x998b88
// > ColorActionSprite::~ColorActionSprite @ 0x9f811c
// > ColorActionSprite::~ColorActionSprite @ 0x9f8140
// > GJEffectManager::~GJEffectManager @ 0x9fc08c
// > TextAlertPopup::~TextAlertPopup @ 0xa1e028
// > TextAlertPopup::~TextAlertPopup @ 0xa1e04c
// > FMODLevelVisualizer::~FMODLevelVisualizer @ 0xa1e070
// > FMODLevelVisualizer::~FMODLevelVisualizer @ 0xa1e094
// > GJSelectionStrip::~GJSelectionStrip @ 0xa1e100
// > GJSelectionStrip::~GJSelectionStrip @ 0xa1e154
// > GJSelectionStrip::create @ 0xa20b34
// > ConfigureHSVWidget::~ConfigureHSVWidget @ 0xa3a000
// > FriendRowEdges::~FriendRowEdges @ 0xa4f8dc
// > FriendRowEdges::~FriendRowEdges @ 0xa4f900
// > ChallengeNode::~ChallengeNode @ 0xa62368
// > ChallengeNode::create @ 0xa636ec
// > DailyLevelNode::~DailyLevelNode @ 0xa6cd20
// > DailyLevelNode::create @ 0xa6eb70
// > GauntletNode::~GauntletNode @ 0xa71b14
// > GauntletSprite::~GauntletSprite @ 0xa77a34
// > GauntletSprite::~GauntletSprite @ 0xa77a58
// > DungeonBarsSprite::~DungeonBarsSprite @ 0xa8a7d0
// > DungeonBarsSprite::~DungeonBarsSprite @ 0xa8a7f4
// > GJWorldNode::~GJWorldNode @ 0xaa5890
// > GJWorldNode::create @ 0xaa7a24
// > CommunityCreditNode::~CommunityCreditNode @ 0xab57b4
// > GJMapObject::~GJMapObject @ 0xac0f3c
// > GJBigSpriteNode::~GJBigSpriteNode @ 0xac0fa0
// > GJBigSpriteNode::~GJBigSpriteNode @ 0xac0fd8
// > GJBigSprite::~GJBigSprite @ 0xac1030
// > GJMapObject::create @ 0xac1a1c
// > GJBigSpriteNode::create @ 0xac233c
// > GJMultiplayerManager::~GJMultiplayerManager @ 0xac46f4
// > GJSmartBlockPreviewSprite::~GJSmartBlockPreviewSprite @ 0xb0bb78
// > GJSmartBlockPreview::~GJSmartBlockPreview @ 0xb0bbdc
// > GJActionManager::~GJActionManager @ 0xb53020
// > ExplodeItemNode::~ExplodeItemNode @ 0xb532e0
// > CustomSFXWidget::~CustomSFXWidget @ 0xb5d73c
// > PlayerCheckpoint::create @ 0xc0f99c
// > CheckpointObject::create @ 0xc10b60
// > CheckpointObject::~CheckpointObject @ 0xc11d8c
// > PlayerCheckpoint::~PlayerCheckpoint @ 0xc11e9c
// > ControllerInputNode::~ControllerInputNode @ 0xc96000
// > ControllerInputNode::~ControllerInputNode @ 0xc96054
// > ControllerInputNode::create @ 0xc96be8
// > DeathHistogram::~DeathHistogram @ 0xc97e78
// > DeathHistogram::~DeathHistogram @ 0xc97e9c
// > DeathHistogram::create @ 0xc98abc
// > DeathMarkerLayer::~DeathMarkerLayer @ 0xc9d830
// > Dropdown::~Dropdown @ 0xcb625c
// > Dropdown::create @ 0xcb714c
// > GJEditorSoundConfig::~GJEditorSoundConfig @ 0xcda704
// > GJEditorSoundConfig::~GJEditorSoundConfig @ 0xcda78c
// > IDNameInput::~IDNameInput @ 0xce49ec
// > IDNameInput::create @ 0xce5d34
// > TimeSpeedControl::~TimeSpeedControl @ 0xd03910
// > TimeSpeedControl::~TimeSpeedControl @ 0xd03934
// > VirtualKeyboardNode::~VirtualKeyboardNode @ 0xd09158
// > VirtualKeyboardNode::~VirtualKeyboardNode @ 0xd091b0
// > cocos2d::extension::CCTableViewCell::~CCTableViewCell @ 0xd1ade0
// > cocos2d::extension::CCTableViewCell::~CCTableViewCell @ 0xd1ae0c
// > cocos2d::CCNode::~CCNode @ 0xd3df9c
// > cocos2d::CCNodeRGBA::~CCNodeRGBA @ 0xd3dfc8
// > cocos2d::CCLayer::~CCLayer @ 0xd5d1e0
// > cocos2d::CCScene::~CCScene @ 0xd5e334
// > cocos2d::CCClippingNode::~CCClippingNode @ 0xd67a20
// > cocos2d::CCRenderTexture::~CCRenderTexture @ 0xd6a3fc
// > cocos2d::CCParticleSystem::~CCParticleSystem @ 0xd6e71c
// > cocos2d::CCParticleBatchNode::~CCParticleBatchNode @ 0xd723a8
// > cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode @ 0xd884e8
// > cocos2d::CCParallaxNode::~CCParallaxNode @ 0xdaa64c
// > cocos2d::CCTMXTiledMap::~CCTMXTiledMap @ 0xdacca0
// > ObjectDecoder::~ObjectDecoder @ 0xddcd80
// > ObjectDecoder::~ObjectDecoder @ 0xddcda4
// > ??> @ 0xbced8
// > ??> @ 0xdee38
// > ??> @ 0x1515a58
//
// 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 13:07:29 +0000
//
// Alternative name is '_ZN7cocos2d6CCNodeD2Ev'
void __fastcall cocos2d::CCNode::~CCNode(cocos2d::CCNode *this)
{
cocos2d::CCScriptEngineManager *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x0
cocos2d::CCObject *v7; // x0
cocos2d::CCObject *v8; // x0
__int64 v9; // x0
cocos2d::CCArray *v10; // x0
cocos2d::CCObject *v11; // x0
unsigned int *v12; // x1
unsigned int v13; // w2
__int64 *v14; // x1
__int64 *v15; // x3
__int64 v16; // x2
_QWORD *v17; // x0
*(_QWORD *)this = &off_1515A50;
cocos2d::CCNode::unregisterScriptHandler(this);
v2 = (cocos2d::CCScriptEngineManager *)*((unsigned int *)this + 74);
if ( (_DWORD)v2 )
{
v17 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v2);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v17 + 32LL))(*v17, *((unsigned int *)this + 74));
}
v3 = *((cocos2d::CCObject **)this + 33);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 32);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 24);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 25);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 30);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 29);
if ( v8 )
cocos2d::CCObject::release(v8);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 38) + 48LL))(*((_QWORD *)this + 38));
v9 = *((_QWORD *)this + 38);
if ( v9 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 8LL))(v9);
*((_QWORD *)this + 38) = 0;
}
v10 = *((cocos2d::CCArray **)this + 26);
if ( v10 )
{
if ( (unsigned int)cocos2d::CCArray::count(v10) )
{
v11 = *((cocos2d::CCObject **)this + 26);
if ( !v11 )
goto LABEL_27;
v12 = *((unsigned int **)v11 + 7);
v13 = *v12;
if ( !*v12 )
goto LABEL_26;
v14 = *((__int64 **)v12 + 2);
v15 = &v14[v13 - 1];
if ( v14 > v15 )
goto LABEL_26;
v16 = *v14;
if ( !*v14 )
goto LABEL_26;
do
{
++v14;
*(_QWORD *)(v16 + 216) = 0;
if ( v15 < v14 )
break;
v16 = *v14;
}
while ( *v14 );
}
v11 = *((cocos2d::CCObject **)this + 26);
if ( v11 )
LABEL_26:
cocos2d::CCObject::release(v11);
}
LABEL_27:
cocos2d::CCObject::~CCObject(this);
}