//
// sub_10011E060 from 0x10011e060 to 0x10011e128 (200 bytes)
//
// 17 xrefs:
// > sub_10011DE5C @ 0x10011def0
// > cocos2d::CCFileUtils::setSearchPaths @ 0x1001d09c4
// > cocos2d::CCFileUtils::addSearchPath @ 0x1001d0b80
// > cocos2d::CCFileUtils::removeSearchPath @ 0x1001d0cbc
// > cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename @ 0x1001d0fe0
// > sub_1001F599C @ 0x1001f5c88
// > LocalLevelManager::tryRecoverAutoSaves @ 0x10025fc48
// > LocalLevelManager::tryRecoverAutoSaves @ 0x10025fcb4
// > LocalLevelManager::exportLevelsToFile @ 0x100260bc8
// > cocos2d::CCFileUtilsIOS::getFullPathForDirectoryAndFilename @ 0x1002d2f74
// > sub_100530FA8 @ 0x1005310a8
// > sub_100531F3C @ 0x100531f90
// > sub_100532308 @ 0x100532358
// > AutoBackupPopup::FLAlert_Clicked @ 0x100532434
// > AutoBackupPopup::FLAlert_Clicked @ 0x1005324ec
// > sub_1005325F0 @ 0x1005326c8
// > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x10053376c
//
// 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 10:59:14 +0000
//
__int64 __usercall sub_10011E060@(const void **a1@, const void **a2@, __int64 a3@)
{
size_t v5; // x21
size_t v6; // x20
__int64 result; // x0
char *v8; // x23
const void *v9; // x1
char *v10; // x21
const void *v11; // x1
if ( *((char *)a1 + 23) >= 0 )
v5 = *((unsigned __int8 *)a1 + 23);
else
v5 = (size_t)a1[1];
if ( *((char *)a2 + 23) >= 0 )
v6 = *((unsigned __int8 *)a2 + 23);
else
v6 = (size_t)a2[1];
result = sub_100026068(a3, v6 + v5);
if ( *(char *)(result + 23) >= 0 )
v8 = (char *)result;
else
v8 = *(char **)result;
if ( v5 )
{
if ( *((char *)a1 + 23) >= 0 )
v9 = a1;
else
v9 = *a1;
result = (__int64)memmove(v8, v9, v5);
}
v10 = &v8[v5];
if ( v6 )
{
if ( *((char *)a2 + 23) >= 0 )
v11 = a2;
else
v11 = *a2;
result = (__int64)memmove(v10, v11, v6);
}
v10[v6] = 0;
return result;
}