//
// cocos2d::CCFileUtils::purgeCachedEntries from 0xd76058 to 0xd760e0 (136 bytes)
//
// 3 xrefs:
// > ??> @ 0xfc520
// > ??> @ 0x152d8e8
// > ??> @ 0x152dda8
//
// 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:03 +0000
//
__int64 __fastcall cocos2d::CCFileUtils::purgeCachedEntries(cocos2d::CCFileUtils *this)
{
char *v2; // x21
__int64 v3; // x19
v2 = (char *)this + 88;
v3 = *((_QWORD *)this + 12);
if ( v3 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 88,
*(__int64 **)v3);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)v2,
*(__int64 **)(v3 + 8));
if ( (*(_BYTE *)(v3 + 56) & 1) != 0 )
operator delete(*(void **)(v3 + 72));
if ( (*(_BYTE *)(v3 + 32) & 1) != 0 )
operator delete(*(void **)(v3 + 48));
operator delete((void *)v3);
}
*((_QWORD *)this + 13) = 0;
*((_QWORD *)this + 12) = 0;
*((_QWORD *)this + 11) = (char *)this + 96;
return (__int64)this + 96;
}