//
// cocos2d::CCAnimationCache::purgeSharedAnimationCache from 0xd84fd8 to 0xd85008 (48 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0xd49e54
// > ??> @ 0xb8168
//
// 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 13:08:12 +0000
//
_DWORD *__fastcall cocos2d::CCAnimationCache::purgeSharedAnimationCache(cocos2d::CCAnimationCache *this)
{
_DWORD *result; // x0
result = (_DWORD *)cocos2d::CCAnimationCache::s_pSharedAnimationCache;
if ( cocos2d::CCAnimationCache::s_pSharedAnimationCache )
{
result = cocos2d::CCObject::release((_DWORD *)cocos2d::CCAnimationCache::s_pSharedAnimationCache);
cocos2d::CCAnimationCache::s_pSharedAnimationCache = 0;
}
return result;
}