//
// sub_1001E05B4 from 0x1001e05b4 to 0x1001e061c (104 bytes)
//
// 3 xrefs:
// > sub_1001E0334 @ 0x1001e0374
// > sub_1001E0638 @ 0x1001e0660
// > sub_1001E12D4 @ 0x1001e12e8
//
// 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:30 +0000
//
std::string *__usercall sub_1001E05B4@(__int64 a1@, __int64 a2@)
{
__int64 v3; // x0
const char *v4; // x0
v3 = cocos2d::CCFileUtils::sharedFileUtils(a1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);
std::string::append((std::string *)a2, "news");
if ( *(char *)(a2 + 23) >= 0 )
v4 = (const char *)a2;
else
v4 = *(const char **)a2;
mkdir(v4, 0x1EDu);
return std::string::append((std::string *)a2, "/");
}