//
// cocos2d::CCTMXLayer::CCTMXLayer from 0x1800cdab0 to 0x1800cdbc6 (278 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3f18
//
// 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 11:22:29 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCTMXLayer *__fastcall cocos2d::CCTMXLayer::CCTMXLayer(
cocos2d::CCTMXLayer *this,
const struct cocos2d::CCTMXLayer *a2)
{
cocos2d::CCSpriteBatchNode::CCSpriteBatchNode(this, a2);
*(_QWORD *)this = &cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCTextureProtocol'};
cocos2d::cc_timeval::operator=((_DWORD *)this + 90, (_DWORD *)a2 + 90);
cocos2d::cc_timeval::operator=((_DWORD *)this + 92, (_DWORD *)a2 + 92);
*((_QWORD *)this + 47) = *((_QWORD *)a2 + 47);
*((_QWORD *)this + 48) = *((_QWORD *)a2 + 48);
*((_DWORD *)this + 98) = *((_DWORD *)a2 + 98);
*((_QWORD *)this + 50) = *((_QWORD *)a2 + 50);
sub_180016870((__int64)this + 408, (__int64)a2 + 408);
*((_BYTE *)this + 440) = *((_BYTE *)a2 + 440);
*((_DWORD *)this + 111) = *((_DWORD *)a2 + 111);
*((_DWORD *)this + 112) = *((_DWORD *)a2 + 112);
*((_DWORD *)this + 113) = *((_DWORD *)a2 + 113);
*((_BYTE *)this + 456) = *((_BYTE *)a2 + 456);
*((_QWORD *)this + 58) = *((_QWORD *)a2 + 58);
*((_QWORD *)this + 59) = *((_QWORD *)a2 + 59);
*((_DWORD *)this + 120) = *((_DWORD *)a2 + 120);
return this;
}