//
// cocos2d::CCSAXParser::parse from 0x5de4d8 to 0x5de538 (96 bytes)
//
// 3 xrefs:
// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x5e0482
// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x5e050e
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x5f8eca
//
// 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 cocos2d::CCSAXParser::parse(cocos2d::CCSAXParser *a1, const char *a2)
{
cocos2d::CCFileUtils *v4; // r0
char *v5; // r6
char v6; // r4
unsigned int v8[2]; // [sp+0h] [bp-8h] BYREF
v8[1] = (unsigned int)a2;
v8[0] = 0;
v4 = cocos2d::CCFileUtils::sharedFileUtils();
v5 = (char *)((int (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, unsigned int *))v4->addSearchResolutionsOrder)(
v4,
a2,
"rt",
v8);
if ( !v5 )
return 0;
if ( v8[0] )
v6 = cocos2d::CCSAXParser::parse(a1, v5, v8[0]);
else
v6 = 0;
operator delete[](v5);
return v6;
}