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