//
// cocos2d::CCFileUtils::dCCFileUtils from 0x1001509e0 to 0x100150a6c (140 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCFileUtils::dCCFileUtils @ 0x1002373b0
// > sub_1002373B4 @ 0x1002373bc
//
// 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
//
__int64 __fastcall cocos2d::CCFileUtils::dCCFileUtils(__int64 a1)
{
cocos2d::CCObject *v2; // x0
void **v4; // [xsp+8h] [xbp-18h] BYREF
*(_QWORD *)a1 = &off_10079A3D8;
v2 = *(cocos2d::CCObject **)(a1 + 8);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 135) < 0 )
operator delete(*(void **)(a1 + 112));
sub_100017F2C(a1 + 88, *(_QWORD **)(a1 + 96));
if ( *(char *)(a1 + 87) < 0 )
operator delete(*(void **)(a1 + 64));
v4 = (void **)(a1 + 40);
sub_1000177FC(&v4);
v4 = (void **)(a1 + 16);
sub_1000177FC(&v4);
return a1;
}