//
// cocos2d::CCUserDefault::initXMLFilePath from 0x1005df4d0 to 0x1005df552 (130 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall cocos2d::CCUserDefault::initXMLFilePath()
{
NSArray *v0; // rax
id v1; // rax
const std::string::value_type *v2; // rax
if ( !byte_1009A4FE8 )
{
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_1009A4FD0, v2);
std::string::append(&stru_1009A4FD0, "/");
std::string::append(&stru_1009A4FD0, "UserDefault.xml");
byte_1009A4FE8 = 1;
}
}