//
// cocos2d::CCTMXMapInfo::initWithTMXFile from 0x1004cd3a0 to 0x1004cd3d7 (55 bytes)
//
// 0 xrefs:
//
// 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::CCTMXMapInfo::initWithTMXFile(cocos2d::CCTMXMapInfo *a1, const char *a2)
{
const char *v2; // rsi
cocos2d::CCTMXMapInfo::internalInit(a1, a2, nullptr);
if ( (a1[2].m_uID & 1) != 0 )
v2 = *(const char **)&a1[2].m_uAutoReleaseCount;
else
v2 = (char *)&a1[2].m_uID + 1;
return cocos2d::CCTMXMapInfo::parseXMLFile(a1, v2);
}