//
// LeaderboardsLayer::~LeaderboardsLayer from 0x562ee8 to 0x562f68 (128 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'LeaderboardsLayer::~LeaderboardsLayer @ 0x562f70
// > LeaderboardsLayer::~LeaderboardsLayer @ 0x562f78
//
// 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:26 +0000
//
// Alternative name is '_ZN17LeaderboardsLayerD1Ev'
void __fastcall LeaderboardsLayer::~LeaderboardsLayer(LeaderboardsLayer *this)
{
LeaderboardsLayer **v2; // r0
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
*(_DWORD *)this = &off_CAEC40;
*((_DWORD *)this + 66) = &off_CAEE9C;
*((_DWORD *)this + 67) = &off_CAEED4;
*((_DWORD *)this + 68) = &off_CAEEE0;
*((_DWORD *)this + 69) = &off_CAEEF0;
*((_DWORD *)this + 70) = &off_CAEF04;
*((_DWORD *)this + 79) = &off_CAEF1C;
*((_DWORD *)this + 80) = &off_CAEF34;
v2 = (LeaderboardsLayer **)GameLevelManager::sharedState(this);
if ( v2[214] == (LeaderboardsLayer *)((char *)this + 316) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v2) + 856) = 0;
v3 = *((cocos2d::CCObject **)this + 91);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 92);
if ( v4 )
cocos2d::CCObject::release(v4);
cocos2d::CCLayer::~CCLayer(this);
}