//
// cocos2d::CCUserDefault::initXMLFilePath from 0x1006b0de0 to 0x1006b0e62 (130 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:35:24 +0000
//
std::string *cocos2d::CCUserDefault::initXMLFilePath()
{
NSArray *v0; // rax
id v1; // rax
const std::string::value_type *v2; // rax
std::string *result; // rax
if ( !byte_100BE8C20 )
{
v0 = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, 1u, 1);
v1 = -[NSArray objectAtIndex:](v0, "objectAtIndex:", 0);
v2 = (const std::string::value_type *)objc_msgSend(v1, "UTF8String");
std::string::assign(&stru_100BE8C08, v2);
std::string::append(&stru_100BE8C08, "/");
result = std::string::append(&stru_100BE8C08, "UserDefault.xml");
byte_100BE8C20 = 1;
}
return result;
}