//
// cocos2d::CCUserDefault::isXMLFileExist from 0x1800a2eb0 to 0x1800a2ef2 (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c18e4
//
// 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 11:22:14 +0000
//
bool __fastcall cocos2d::CCUserDefault::isXMLFileExist()
{
const char *v0; // rcx
FILE *v1; // rax
v0 = (const char *)&cocos2d::CCUserDefault::m_sFilePath;
if ( *((_QWORD *)&xmmword_1801B2AA0 + 1) > 0xFu )
v0 = cocos2d::CCUserDefault::m_sFilePath;
v1 = fopen(v0, "r");
if ( v1 )
{
fclose(v1);
LOBYTE(v1) = 1;
}
return (char)v1;
}