//
// cocos2d::CCSAXParser::parse from 0xb040a8 to 0xb04164 (188 bytes)
//
// 4 xrefs:
// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0xb07da8
// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0xb083c0
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0xb3c038
// > ??> @ 0x88218
//
// 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 *v3; // x0
char *v4; // x20
char v5; // w21
unsigned int v8[2]; // [xsp+50h] [xbp+50h] BYREF
*(_QWORD *)v8 = 0;
v3 = cocos2d::CCFileUtils::sharedFileUtils();
v4 = (char *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, char *, unsigned int *))v3->addSearchResolutionsOrder)(
v3,
a2,
"rt",
v8);
if ( !v4 )
return 0;
v5 = 0;
if ( *(_QWORD *)v8 )
v5 = cocos2d::CCSAXParser::parse(a1, v4, v8[0]);
operator delete[](v4);
return v5;
}