//
// cocos2d::CCFileUtils::removeFullPath from 0x1001518f8 to 0x10015196c (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x10079a410
// > ??> @ 0x1007c7ce0
//
// 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
//
void __fastcall cocos2d::CCFileUtils::removeFullPath(cocos2d::CCFileUtils *a1, const char *a2)
{
cocos2d::CCFileUtils *v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, (char *)a2);
v3 = (cocos2d::CCFileUtils *)sub_1000B3B98((__int64)&a1[11], (const void **)__p);
if ( v5 < 0 )
operator delete(__p[0]);
if ( &a1[12] != v3 )
{
sub_10001BDC0(&a1[11].__vftable, v3);
sub_100017F74((__int64)&v3[4]);
operator delete(v3);
}
}