//
// cocos2d::CCTMXTiledMap::initWithTMXFile from 0x100519450 to 0x1005194a4 (84 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
//
bool __fastcall cocos2d::CCTMXTiledMap::initWithTMXFile(__int64 a1, __int64 a2)
{
char *v2; // r14
__int64 v3; // rax
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 320LL))(a1, &qword_100BE54F8);
v2 = cocos2d::CCTMXMapInfo::formatWithTMXFile(a2);
if ( v2 )
{
v3 = (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v2 + 96LL))(v2);
sub_1007FEF90(v3);
cocos2d::CCTMXTiledMap::buildWithMapInfo(a1, v2);
}
return v2 != nullptr;
}