//
// sub_100661BA0 from 0x100661ba0 to 0x100661bfd (93 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:34:56 +0000
//
std::string *__fastcall sub_100661BA0(std::string *this, __int64 a2)
{
__int64 v3; // rax
const char *data; // rdi
v3 = cocos2d::CCFileUtils::sharedFileUtils(this, a2);
(*(void (__fastcall **)(std::string *, __int64))(*(_QWORD *)v3 + 144LL))(this, v3);
std::string::append(this, "news");
if ( (*(_BYTE *)&this->__r_.__value_.__s.0 & 1) != 0 )
data = this->__r_.__value_.__l.__data_;
else
data = this->__r_.__value_.__s.__data_;
mkdir(data, 0x1EDu);
std::string::append(this, "/");
return this;
}