//
// cocos2d::CCUserDefault::isXMLFileExist from 0x7f67b8 to 0x7f67de (38 bytes)
//
// 1 xrefs:
// > sub_7F69E0 @ 0x7f69f2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:10 +0000
//
FILE *__fastcall cocos2d::CCUserDefault::isXMLFileExist(cocos2d::CCUserDefault *this)
{
const char *v1; // r0
FILE *result; // r0
if ( (cocos2d::CCUserDefault::m_sFilePath & 1) != 0 )
v1 = (const char *)dword_D2FDB4;
else
v1 = (char *)&cocos2d::CCUserDefault::m_sFilePath + 1;
result = fopen(v1, (const char *)&a1i2r3e45s789g[3]);
if ( result )
{
fclose(result);
return (FILE *)(&dword_0 + 1);
}
return result;
}