//
// GJRateLevelLayer::~GJRateLevelLayer from 0x9504dc to 0x9505e0 (260 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'GJRateLevelLayer::~GJRateLevelLayer @ 0x9505e4
// > GJRateLevelLayer::~GJRateLevelLayer @ 0x9505f8
// > ??> @ 0x7c720
// > ??> @ 0xa11a0
// > ??> @ 0x146af18
//
// 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:57:22 +0000
//
// Alternative name is '_ZN16GJRateLevelLayerD1Ev'
void __fastcall GJRateLevelLayer::~GJRateLevelLayer(GJRateLevelLayer *this)
{
GJRateLevelLayer *v2; // x1
GameLevelManager *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x0
*((_QWORD *)this + 129) = &off_146B788;
*(_QWORD *)this = &off_146AF10;
*((_QWORD *)this + 40) = off_146B530;
*((_QWORD *)this + 41) = &off_146B5A0;
*((_QWORD *)this + 42) = off_146B5B8;
*((_QWORD *)this + 43) = off_146B5D8;
*((_QWORD *)this + 44) = off_146B600;
*((_QWORD *)this + 51) = &off_146B630;
*((_QWORD *)this + 54) = &off_146B6B0;
*((_QWORD *)this + 68) = off_146B6D0;
*((_QWORD *)this + 83) = &off_146B718;
*((_QWORD *)this + 84) = off_146B730;
*((_QWORD *)this + 127) = &off_146B750;
*((_QWORD *)this + 128) = off_146B768;
*((_QWORD *)this + 130) = &off_146B7A8;
v2 = *(GJRateLevelLayer **)(GameLevelManager::sharedState((GameLevelManager *)&off_146B7A8) + 1360);
v3 = (GJRateLevelLayer *)((char *)this + 1024);
if ( v2 == (GJRateLevelLayer *)((char *)this + 1024) )
{
v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);
*((_QWORD *)v3 + 170) = 0;
}
if ( *(GJRateLevelLayer **)(GameLevelManager::sharedState(v3) + 1464) == (GJRateLevelLayer *)((char *)this + 1032) )
*(_QWORD *)(GameLevelManager::sharedState((GJRateLevelLayer *)((char *)this + 1032)) + 1464) = 0;
v4 = *((cocos2d::CCObject **)this + 134);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 131);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 140);
if ( v6 )
cocos2d::CCObject::release(v6);
SetupTriggerPopup::~SetupTriggerPopup(this);
}