//
// cocos2d::CCSAXParser::parse_1 from 0x100176170 to 0x10017623e (206 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXMapInfo::parseXMLFile @ 0x1004cd782
//
// 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::CCSAXParser::parse_1(cocos2d::CCSAXParser *a1, const char *a2)
{
cocos2d::CCFileUtils *v2; // rax
char *v3; // rbx
unsigned int v4; // r12d
char v5; // r14
_BYTE v7[640]; // [rsp+8h] [rbp-2B8h] BYREF
_QWORD v8[2]; // [rsp+288h] [rbp-38h] BYREF
_QWORD v9[5]; // [rsp+298h] [rbp-28h] BYREF
v9[0] = 0;
v2 = cocos2d::CCFileUtils::sharedFileUtils();
v3 = (char *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, _QWORD *))v2->addSearchResolutionsOrder)(
v2,
a2,
"rt",
v9);
v4 = v9[0];
if ( v3 != nullptr && v9[0] != 0 )
{
sub_100098330((__int64)v7, 1, 0);
sub_100098F90((__int64)v7, v3, v4);
v8[0] = off_1008C2BA8;
v8[1] = a1;
v5 = sub_100094B30((__int64)v7, (__int64)v8);
sub_100098780((__int64)v7);
LABEL_4:
operator delete[](v3);
return v5;
}
v5 = 0;
if ( v3 )
goto LABEL_4;
return v5;
}