//
// cocos2d::CCTMXMapInfo::initWithTMXFile from 0x1004c8f10 to 0x1004c8f47 (55 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:31:09 +0000
//
__int64 __fastcall cocos2d::CCTMXMapInfo::initWithTMXFile(__int64 a1, __int64 a2)
{
__int64 v2; // rsi
cocos2d::CCTMXMapInfo::internalInit(a1, a2, 0);
if ( (*(_BYTE *)(a1 + 136) & 1) != 0 )
v2 = *(_QWORD *)(a1 + 152);
else
v2 = a1 + 137;
return cocos2d::CCTMXMapInfo::parseXMLFile(a1, v2);
}