//
// PlatformerControlsPopup::~PlatformerControlsPopup from 0x79ccb0 to 0x79cd8c (220 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'PlatformerControlsPopup::~PlatformerControlsPopup @ 0x79cd94
// > PlatformerControlsPopup::~PlatformerControlsPopup @ 0x79cd9c
//
// 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:59:50 +0000
//
// Alternative name is '_ZN23PlatformerControlsPopupD1Ev'
void __fastcall PlatformerControlsPopup::~PlatformerControlsPopup(PlatformerControlsPopup *this)
{
GameLevelManager *v2; // r0
PlatformerControlsPopup **v3; // r0
int v4; // r3
cocos2d::CCObject *v5; // r0
*(_DWORD *)this = &off_CFC888;
*((_DWORD *)this + 66) = &off_CFCB94;
*((_DWORD *)this + 67) = &off_CFCBCC;
*((_DWORD *)this + 68) = &off_CFCBD8;
*((_DWORD *)this + 69) = &off_CFCBE8;
*((_DWORD *)this + 70) = &off_CFCBFC;
*((_DWORD *)this + 79) = &off_CFCC14;
*((_DWORD *)this + 83) = &off_CFCC54;
*((_DWORD *)this + 110) = &off_CFCC64;
*((_DWORD *)this + 130) = &off_CFCC88;
*((_DWORD *)this + 131) = &off_CFCC94;
*((_DWORD *)this + 178) = &off_CFCCA4;
*((_DWORD *)this + 179) = &off_CFCCB4;
*((_DWORD *)this + 180) = &off_CFCCC0;
*((_DWORD *)this + 181) = &off_CFCCCC;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( *((PlatformerControlsPopup **)v2 + 130) == (PlatformerControlsPopup *)((char *)this + 720) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_DWORD *)v2 + 130) = 0;
}
v3 = (PlatformerControlsPopup **)GameLevelManager::sharedState(v2);
if ( v3[222] == (PlatformerControlsPopup *)((char *)this + 712) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v3) + 888) = 0;
v4 = *((_DWORD *)this + 200);
if ( v4 )
*(_DWORD *)(v4 + 520) = 0;
v5 = *((cocos2d::CCObject **)this + 184);
if ( v5 )
cocos2d::CCObject::release(v5);
std::string::~string((int)this + 740);
SetupTriggerPopup::~SetupTriggerPopup(this);
}