//
// cocos2d::CCTMXTiledMap::createWithXML from 0x1005194b0 to 0x100519570 (192 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:40 +0000
//
_OWORD *__fastcall cocos2d::CCTMXTiledMap::createWithXML(__int64 a1, __int64 a2)
{
_OWORD *v2; // rbx
char *v3; // r14
__int64 v4; // rax
v2 = operator new(0x168u);
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = off_100B6CF48;
sub_100278630((_OWORD *)((char *)v2 + 316), &qword_100BE54F8);
sub_100278630((_OWORD *)((char *)v2 + 324), &qword_100BE54F8);
v2[21] = 0;
*((_QWORD *)v2 + 44) = 0;
(*(void (__fastcall **)(_OWORD *, _QWORD *))(*(_QWORD *)v2 + 320LL))(v2, &qword_100BE54F8);
v3 = cocos2d::CCTMXMapInfo::formatWithXML(a1, a2);
v4 = (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v3 + 96LL))(v3);
sub_1007FEF90(v4);
cocos2d::CCTMXTiledMap::buildWithMapInfo(v2, v3);
cocos2d::CCObject::autorelease((__int64)v2);
return v2;
}