//
// cocos2d::CCFileUtils::removeAllPaths from 0xd74d3c to 0xd74d8c (80 bytes)
//
// 1 xrefs:
// > ??> @ 0xd6540
//
// 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:02 +0000
//
__int64 __fastcall cocos2d::CCFileUtils::removeAllPaths(cocos2d::CCFileUtils *this)
{
__int64 v2; // x20
__int64 result; // x0
v2 = *((_QWORD *)this + 5);
while ( 1 )
{
result = *((_QWORD *)this + 6);
if ( v2 == result )
break;
while ( 1 )
{
*((_QWORD *)this + 6) = result - 24;
if ( (*(_BYTE *)(result - 24) & 1) == 0 )
break;
operator delete(*(void **)(result - 8));
result = *((_QWORD *)this + 6);
if ( v2 == result )
return result;
}
}
return result;
}