//
// SimplePlayer::~SimplePlayer from 0x50ad08 to 0x50ad50 (72 bytes)
//
// 1 xrefs:
// > SimplePlayer::~SimplePlayer @ 0x50ad58
//
// 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:51:27 +0000
//
// Alternative name is '_ZN12SimplePlayerD1Ev'
void __fastcall SimplePlayer::~SimplePlayer(SimplePlayer *this)
{
GameManager *v2; // r0
int v3; // r2
int v4; // r3
GameManager *v5; // r0
_DWORD *v6; // r0
*(_DWORD *)this = &off_CA72D0;
*((_DWORD *)this + 66) = &off_CA7544;
*((_DWORD *)this + 70) = &off_CA7584;
v2 = (GameManager *)GameManager::sharedState(this);
v5 = GameManager::unloadIcons(v2, *((_DWORD *)this + 136), v3, v4);
if ( *((_BYTE *)this + 552) )
{
v6 = (_DWORD *)GameManager::sharedState(v5);
GameManager::removeIconDelegate(v6, *((_DWORD *)this + 136));
}
cocos2d::CCSprite::~CCSprite(this);
}