//
// cocos2d::CCFileUtils::~CCFileUtils from 0xd75f04 to 0xd76034 (304 bytes)
//
// 4 xrefs:
// > cocos2d::CCFileUtils::~CCFileUtils @ 0xd76044
// > cocos2d::CCFileUtilsAndroid::~CCFileUtilsAndroid @ 0xd7bf64
// > ??> @ 0x8d898
// > ??> @ 0xb6368
//
// 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
//
// Alternative name is '_ZN7cocos2d11CCFileUtilsD1Ev'
void __fastcall cocos2d::CCFileUtils::~CCFileUtils(cocos2d::CCFileUtils *this)
{
_DWORD *v2; // x0
__int64 v3; // x20
void *v4; // x20
void *v5; // x0
__int64 v6; // x0
void *v7; // x20
void *v8; // x0
__int64 v9; // x0
v2 = *((_DWORD **)this + 1);
*(_QWORD *)this = &off_152D8D0;
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*((_BYTE *)this + 112) & 1) != 0 )
operator delete(*((void **)this + 16));
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)this + 88,
*(__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);
}
if ( (*((_BYTE *)this + 64) & 1) != 0 )
operator delete(*((void **)this + 10));
v4 = *((void **)this + 5);
if ( v4 )
{
v5 = *((void **)this + 6);
if ( v4 != v5 )
{
do
{
v6 = (__int64)v5 - 24;
*((_QWORD *)this + 6) = v6;
std::string::~string(v6);
v5 = *((void **)this + 6);
}
while ( v4 != v5 );
v5 = *((void **)this + 5);
}
operator delete(v5);
}
v7 = *((void **)this + 2);
if ( v7 )
{
v8 = *((void **)this + 3);
if ( v7 != v8 )
{
do
{
v9 = (__int64)v8 - 24;
*((_QWORD *)this + 3) = v9;
std::string::~string(v9);
v8 = *((void **)this + 3);
}
while ( v7 != v8 );
v8 = *((void **)this + 2);
}
operator delete(v8);
}
}