//
// cocos2d::CCSAXParser::parse from 0xd74634 to 0xd746f0 (188 bytes)
//
// 4 xrefs:
// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0xd754d4
// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0xd75788
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0xdade08
// > ??> @ 0xb48f8
//
// This function is hookable on this platform (idp: arm, 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 13:08:02 +0000
//
__int64 __fastcall cocos2d::CCSAXParser::parse(cocos2d::CCSAXParser *this, const char *a2)
{
__int64 v3; // x0
char *v4; // x20
unsigned int v5; // w21
unsigned int v8[2]; // [xsp+50h] [xbp+50h] BYREF
*(_QWORD *)v8 = 0;
v3 = cocos2d::CCFileUtils::sharedFileUtils(_stack_chk_guard);
v4 = (char *)(*(__int64 (__fastcall **)(__int64, const char *, char *, unsigned int *))(*(_QWORD *)v3 + 32LL))(
v3,
a2,
"rt",
v8);
if ( v4 )
{
v5 = 0;
if ( *(_QWORD *)v8 )
v5 = (unsigned __int8)cocos2d::CCSAXParser::parse(this, v4, v8[0]);
operator delete[](v4);
}
else
{
return 0;
}
return v5;
}