//
// GJRateLevelLayer::~GJRateLevelLayer from 0x5648c4 to 0x5649a0 (220 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'GJRateLevelLayer::~GJRateLevelLayer @ 0x5649a8
// > GJRateLevelLayer::~GJRateLevelLayer @ 0x5649b0
//
// 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:52:27 +0000
//
// Alternative name is '_ZN16GJRateLevelLayerD1Ev'
void __fastcall GJRateLevelLayer::~GJRateLevelLayer(GJRateLevelLayer *this)
{
GameLevelManager *v2; // r0
GJRateLevelLayer **v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
*(_DWORD *)this = &off_CAF3A0;
*((_DWORD *)this + 66) = &off_CAF6B0;
*((_DWORD *)this + 67) = &off_CAF6E8;
*((_DWORD *)this + 68) = &off_CAF6F4;
*((_DWORD *)this + 69) = &off_CAF704;
*((_DWORD *)this + 70) = &off_CAF718;
*((_DWORD *)this + 79) = &off_CAF730;
*((_DWORD *)this + 83) = &off_CAF770;
*((_DWORD *)this + 110) = &off_CAF780;
*((_DWORD *)this + 130) = &off_CAF7A4;
*((_DWORD *)this + 131) = &off_CAF7B0;
*((_DWORD *)this + 178) = &off_CAF7C0;
*((_DWORD *)this + 179) = &off_CAF7CC;
*((_DWORD *)this + 180) = &off_CAF7DC;
*((_DWORD *)this + 181) = &off_CAF7EC;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( *((GJRateLevelLayer **)v2 + 222) == (GJRateLevelLayer *)((char *)this + 716) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_DWORD *)v2 + 222) = 0;
}
v3 = (GJRateLevelLayer **)GameLevelManager::sharedState(v2);
if ( v3[235] == (GJRateLevelLayer *)((char *)this + 720) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v3) + 940) = 0;
v4 = *((cocos2d::CCObject **)this + 185);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 182);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 192);
if ( v6 )
cocos2d::CCObject::release(v6);
SetupTriggerPopup::~SetupTriggerPopup(this);
}