//
// cocos2d::CCTMXTiledMap::initWithXML from 0xdad214 to 0xdad280 (108 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXTiledMap::createWithXML @ 0xdad2b0
// > ??> @ 0x741a0
//
// 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:36 +0000
//
__int64 __fastcall cocos2d::CCTMXTiledMap::initWithXML(
cocos2d::CCTMXTiledMap *this,
cocos2d::CCTMXMapInfo *a2,
const char *a3)
{
cocos2d::CCArray *v5; // x0
cocos2d::CCTMXMapInfo *v8; // [xsp+28h] [xbp+28h]
(*(void (__fastcall **)(cocos2d::CCTMXTiledMap *, void *))(*(_QWORD *)this + 320LL))(this, &unk_1562458);
v8 = (cocos2d::CCTMXMapInfo *)cocos2d::CCTMXMapInfo::formatWithXML(a2, a3, a3);
v5 = (cocos2d::CCArray *)(*(__int64 (**)(void))(*(_QWORD *)v8 + 96LL))();
cocos2d::CCArray::count(v5);
cocos2d::CCTMXTiledMap::buildWithMapInfo(this, v8);
return 1;
}