//
// cocos2d::CCFileUtilsIOS::getWritablePath from 0x10023628c to 0x1002362dc (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c7d38
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
std::string *__usercall cocos2d::CCFileUtilsIOS::getWritablePath@(_QWORD *a1@)
{
char *v2; // x0
std::string *v3; // x0
v2 = (char *)objc_msgSend(
-[NSArray objectAtIndex:](
NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, 1u, 1),
"objectAtIndex:",
0),
"UTF8String");
v3 = (std::string *)sub_100009900(a1, v2);
return std::string::append(v3, "/");
}