//
// cocos2d::CCFileUtils::removeFullPath from 0x1001d052c to 0x1001d05a0 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008ef858
// > ??> @ 0x100920320
//
// 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 11:00:22 +0000
//
void __fastcall cocos2d::CCFileUtils::removeFullPath(__int64 a1, char *a2)
{
_QWORD *v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, a2);
v3 = (_QWORD *)sub_1000D9514(a1 + 88, (const void **)__p);
if ( v5 < 0 )
operator delete(__p[0]);
if ( (_QWORD *)(a1 + 96) != v3 )
{
sub_10001C814((_QWORD *)(a1 + 88), v3);
sub_1000189C8((__int64)(v3 + 4));
operator delete(v3);
}
}