//
// GameObject::~GameObject from 0x76c570 to 0x76c62c (188 bytes)
//
// 57 xrefs:
// > PlayerObject::~PlayerObject @ 0x75d91c
// > PlayerObject::create @ 0x768db0
// > GameObject::~GameObject @ 0x76c63c
// > EnhancedGameObject::~EnhancedGameObject @ 0x76c670
// > EnhancedGameObject::~EnhancedGameObject @ 0x76c6a4
// > TextGameObject::~TextGameObject @ 0x76c704
// > TextGameObject::~TextGameObject @ 0x76c74c
// > EffectGameObject::~EffectGameObject @ 0x86e30c
// > SpecialAnimGameObject::~SpecialAnimGameObject @ 0x86f200
// > SpecialAnimGameObject::~SpecialAnimGameObject @ 0x86f234
// > ParticleGameObject::~ParticleGameObject @ 0x86f2bc
// > SmartGameObject::~SmartGameObject @ 0x86f320
// > AnimatedGameObject::~AnimatedGameObject @ 0x86fc0c
// > SmartGameObject::~SmartGameObject @ 0x87065c
// > ParticleGameObject::~ParticleGameObject @ 0x8706e8
// > EffectGameObject::EffectGameObject @ 0x870f20
// > GradientTriggerObject::create @ 0x87344c
// > ShaderGameObject::create @ 0x873c98
// > AdvancedFollowEditObject::create @ 0x874590
// > AdvancedFollowTriggerObject::create @ 0x874e68
// > GameOptionsTrigger::create @ 0x87567c
// > DashRingObject::create @ 0x875eac
// > RingObject::create @ 0x87668c
// > EffectGameObject::create @ 0x876f7c
// > KeyframeAnimTriggerObject::create @ 0x8781c8
// > EnhancedTriggerObject::create @ 0x8789bc
// > StartPosObject::create @ 0x879230
// > TeleportPortalObject::create @ 0x879b0c
// > LabelGameObject::create @ 0x87a65c
// > RandTriggerGameObject::create @ 0x87b4b8
// > SequenceTriggerGameObject::create @ 0x87beac
// > KeyframeGameObject::create @ 0x87c888
// > SongTriggerGameObject::create @ 0x87d2f4
// > EventLinkTrigger::create @ 0x87dae0
// > SpawnTriggerGameObject::create @ 0x87e2e8
// > CheckpointGameObject::create @ 0x87ec18
// > CountTriggerGameObject::create @ 0x87fc70
// > TransformTriggerGameObject::create @ 0x880474
// > EndTriggerGameObject::create @ 0x880c50
// > UISettingsGameObject::create @ 0x881438
// > CameraTriggerGameObject::create @ 0x881c40
// > TimerTriggerGameObject::create @ 0x882448
// > ItemTriggerGameObject::create @ 0x882c74
// > AudioLineGuideGameObject::create @ 0x88345c
// > ForceBlockGameObject::create @ 0x883c58
// > ArtTriggerGameObject::create @ 0x884738
// > PlayerControlGameObject::create @ 0x884f18
// > ObjectControlGameObject::create @ 0x8856f0
// > ProgressGameObject::create @ 0x885ed4
// > SpawnParticleGameObject::create @ 0x8866f0
// > RotateGameplayGameObject::create @ 0x886ef8
// > TriggerControlGameObject::create @ 0x89ad94
// > EndPortalObject::~EndPortalObject @ 0x8b4a10
// > EndPortalObject::~EndPortalObject @ 0x8b4a44
// > ??> @ 0x53ea8
// > ??> @ 0xaaba8
// > ??> @ 0x1434098
//
// 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 12:53:11 +0000
//
// Alternative name is '_ZN10GameObjectD1Ev'
void __fastcall GameObject::~GameObject(GameObject *this)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
void *v5; // x0
void *v6; // x0
void *v7; // x0
void *v8; // x0
void *v9; // x0
v2 = *((cocos2d::CCObject **)this + 94);
*(_QWORD *)this = &off_1434090;
*((_QWORD *)this + 40) = &off_14347C0;
*((_QWORD *)this + 43) = &off_1434840;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 111);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 92);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((void **)this + 137);
if ( v5 )
operator delete(v5);
v6 = *((void **)this + 138);
if ( v6 )
operator delete(v6);
v7 = *((void **)this + 145);
if ( v7 )
{
operator delete[](v7);
v8 = *((void **)this + 147);
if ( !v8 )
goto LABEL_14;
goto LABEL_13;
}
v8 = *((void **)this + 147);
if ( v8 )
LABEL_13:
operator delete[](v8);
LABEL_14:
v9 = *((void **)this + 149);
if ( v9 )
operator delete[](v9);
if ( (*((_BYTE *)this + 784) & 1) != 0 )
operator delete(*((void **)this + 100));
CCSpritePlus::~CCSpritePlus(this);
}