//
// sub_10036FFA0 from 0x10036ffa0 to 0x100370014 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x10091bd30
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_10036FFA0(_QWORD *__p)
{
GameManager *v1; // rax
GameManager *v2; // rax
*__p = off_10091BD20;
__p[40] = off_10091C1F8;
__p[43] = off_10091C278;
v1 = GameManager::sharedState();
GameManager::unloadIcons(v1, *((_DWORD *)__p + 166));
if ( *((_BYTE *)__p + 672) == 1 )
{
v2 = GameManager::sharedState();
GameManager::removeIconDelegate(v2, *((_DWORD *)__p + 166));
}
cocos2d::CCSprite::dCCSprite(__p);
operator delete(__p);
}