//
// SimplePlayer::~SimplePlayer from 0x8b94c4 to 0x8b9524 (96 bytes)
//
// 4 xrefs:
// > SimplePlayer::~SimplePlayer @ 0x8b9534
// > ??> @ 0x76b28
// > ??> @ 0xfe2c0
// > ??> @ 0x145adc8
//
// 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:56:26 +0000
//
// Alternative name is '_ZN12SimplePlayerD1Ev'
void __fastcall SimplePlayer::~SimplePlayer(SimplePlayer *this)
{
GameManager *v2; // x0
_QWORD *v3; // x0
*(_QWORD *)this = &off_145ADC0;
*((_QWORD *)this + 40) = &off_145B2A8;
*((_QWORD *)this + 43) = &off_145B328;
v2 = (GameManager *)GameManager::sharedState((GameManager *)&off_145B328);
GameManager::unloadIcons(v2, *((_DWORD *)this + 166));
if ( *((_BYTE *)this + 672) )
{
v3 = (_QWORD *)GameManager::sharedState((GameManager *)*((unsigned __int8 *)this + 672));
GameManager::removeIconDelegate(v3, *((_DWORD *)this + 166));
}
cocos2d::CCSprite::~CCSprite(this);
}