//
// cocos2d::CCConfiguration::purgeConfiguration from 0xd21198 to 0xd211c8 (48 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0xd49e68
// > ??> @ 0x92ec0
//
// 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:07:11 +0000
//
__int64 __fastcall cocos2d::CCConfiguration::purgeConfiguration(cocos2d::CCConfiguration *this)
{
__int64 result; // x0
result = cocos2d::CCConfiguration::s_gSharedConfiguration;
if ( cocos2d::CCConfiguration::s_gSharedConfiguration )
{
result = cocos2d::CCObject::release((cocos2d::CCObject *)cocos2d::CCConfiguration::s_gSharedConfiguration);
cocos2d::CCConfiguration::s_gSharedConfiguration = 0;
}
return result;
}