//
// cocos2d::CCTMXMapInfo::initWithTMXFile from 0x805eda to 0x805efc (34 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXMapInfo::formatWithTMXFile @ 0x805f10
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:24 +0000
//
int __fastcall cocos2d::CCTMXMapInfo::initWithTMXFile(cocos2d::CCTMXMapInfo *this, const char *a2)
{
const char *v3; // r1
cocos2d::CCTMXMapInfo::internalInit(this, a2, nullptr);
if ( (*((_BYTE *)this + 108) & 1) != 0 )
v3 = *((const char **)this + 29);
else
v3 = (char *)this + 109;
return cocos2d::CCTMXMapInfo::parseXMLFile(this, v3);
}