//
// cocos2d::CCUserDefault::isXMLFileExist from 0x1006b0e70 to 0x1006b0eb8 (72 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
//
bool cocos2d::CCUserDefault::isXMLFileExist()
{
const char *data; // rdi
FILE *v1; // rax
FILE *v2; // rbx
if ( (*(_BYTE *)&stru_100BE8C08.__r_.__value_.__s.0 & 1) != 0 )
data = stru_100BE8C08.__r_.__value_.__l.__data_;
else
data = stru_100BE8C08.__r_.__value_.__s.__data_;
v1 = fopen(data, "r");
v2 = v1;
if ( v1 )
fclose(v1);
return v2 != nullptr;
}